Copy of some portions of Android SDK.