Most features of the Android devices are exposed through the Input and Handheld classes. For cross-platform projects, UNITY_ANDROID is defined for conditionally compiling Android-specific C# code.
For further information, see the Input, Mobile Keyboard and Device Property pages.