page.title=Android 1.6 Platform excludeFromSuggestions=true sdk.platform.version=1.6 sdk.platform.apiLevel=4 sdk.platform.majorMinor=minor @jd:body

In this document

  1. Platform Highlights
  2. Revisions
  3. API Level
  4. Framework API Changes
  5. Built-in Applications
  6. Locales
  7. Emulator Skins

Reference

  1. API Differences Report »

See Also

  1. Exploring the SDK

API Level: {@sdkPlatformApiLevel}

Android {@sdkPlatformVersion} is a {@sdkPlatformMajorMinor} platform release deployable to Android-powered handsets since October 2009. The platform includes new features for users and developers, as well as changes in the Android framework API.

For developers, a new release of the Android {@sdkPlatformVersion} platform is available as a downloadable component for the Android SDK. The platform — Android 1.6 r2 — includes a fully compliant Android library and system image, as well as a set of emulator skins, sample applications, and minor development updates. The downloadable platform is fully compliant (API Level 4) and includes no external libraries.

To get started developing or testing against the Android {@sdkPlatformVersion} platform, use the Android SDK and AVD Manager tool to download the latest Android 1.6 platform into your Android 1.6 or later SDK. For more information, see Exploring the SDK.

Platform Highlights

For a list of new user features and platform highlights, see the Android {@sdkPlatformVersion} Platform Highlights document.

Revisions

The sections below provide notes about successive releases of the Android {@sdkPlatformVersion} platform component for the Android SDK, as denoted by revision number. To determine what revision(s) of the Android {@sdkPlatformVersion} platforms are installed in your SDK environment, refer to the "Installed Packages" listing in the Android SDK and AVD Manager.

Android 1.6, Revision 3 (May 2010)
Dependencies:

Requires SDK Tools r6 or higher.

Tools:
  • Adds support for library projects in the Ant build system.
Android 1.6, Revision 2 (December 2009)
Dependencies:

Requires SDK Tools r4 or higher.

API related:
  • Properly exposes CDMA-related constants in android.telephony.TelephonyManager: DATA_ACTIVITY_DORMANT, PHONE_TYPE_CDMA, NETWORK_TYPE_CDMA, NETWORK_TYPE_EVDO_0, NETWORK_TYPE_EVDO_A, and NETWORK_TYPE_1xRTT.
System image:
  • Fixes bug so that Bitmap's density is now propagated through Parcelable.
  • Fixes NinePatchDrawable to properly scale its reported padding for compatibility mode.
  • Fixes TextView to properly compute styled font metrics based on the screen density.
  • Updates kernel to 2.6.29, to match kernel on commercially available Android-powered devices.
Tools:
  • Adds new Ant build system with support for Emma instrumentation projects (code coverage).
  • Fixes emulator skins to properly emulate d-pad in landscape mode.
  • Fixes density rendering in the layout editor in ADT.
Android 1.6, Revision 1 (September 2009)
Dependencies

Requires SDK Tools r3 or higher.

API Level

The Android {@sdkPlatformVersion} platform delivers an updated version of the framework API. The Android {@sdkPlatformVersion} API is assigned an integer identifier — {@sdkPlatformApiLevel} — that is stored in the system itself. This identifier, called the "API Level", allows the system to correctly determine whether an application is compatible with the system, prior to installing the application.

To use APIs introduced in Android {@sdkPlatformVersion} in your application, you need to set the proper value, "{@sdkPlatformApiLevel}", in the android:minSdkVersion attributes of the <uses-sdk> element in your application's manifest.

For more information about how to use API Level, see the API Levels document.

Framework API Changes

The sections below provide information about the application framework API provided by the Android {@sdkPlatformVersion} platform.

UI framework

Search framework

Accessibility framework

Gesture input

Text-to-speech

Graphics

Telephony

Utilities

Android Manifest elements

New permissions

API differences report

For a detailed view of API changes in Android {@sdkPlatformVersion} (API Level {@sdkPlatformApiLevel}), as compared to the previous version, see the API Differences Report.

Built-in Applications

The system image included in the downloadable platform provides these built-in applications:

  • Alarm Clock
  • Browser
  • Calculator
  • Camcorder
  • Camera
  • Contacts
  • Custom Locale (developer app)
  • Dev Tools (developer app)
  • Dialer
  • Email
  • Gallery
  • Gestures Builder
  • IME for Japanese text input
  • Messaging
  • Music
  • Settings
  • Spare Parts (developer app)

Locales

The system image included in the downloadable platform provides a variety of built-in locales. In some cases, region-specific strings are available for the locales. In other cases, a default version of the language is used. The languages that are available in the Android {@sdkPlatformVersion} system image are listed below (with language_country/region locale descriptor).

  • Chinese, PRC (zh_CN)
  • Chinese, Taiwan (zh_TW)
  • Czech (cs_CZ)
  • Dutch, Netherlands (nl_NL)
  • Dutch, Belgium (nl_BE)
  • English, US (en_US)
  • English, Britain (en_GB)
  • English, Canada (en_CA)
  • English, Australia (en_AU)
  • English, New Zealand (en_NZ)
  • English, Singapore(en_SG)
  • French, France (fr_FR)
  • French, Belgium (fr_BE)
  • French, Canada (fr_CA)
  • French, Switzerland (fr_CH)
  • German, Germany (de_DE)
  • German, Austria (de_AT)
  • German, Switzerland (de_CH)
  • German, Liechtenstein (de_LI)
  • Italian, Italy (it_IT)
  • Italian, Switzerland (it_CH)
  • Japanese (ja_JP)
  • Korean (ko_KR)
  • Polish (pl_PL)
  • Russian (ru_RU)
  • Spanish (es_ES)
  • Localized UI strings match the locales that are accessible through Settings.

    Emulator Skins

    The downloadable platform includes a set of emulator skins that you can use for modeling your application in different screen sizes and resolutions. The emulator skins are:

    For more information about how to develop an application that displays and functions properly on all Android-powered devices, see Supporting Multiple Screens.