page.title=Android 1.6, Release 2 sdk.platform.version=1.6 sdk.platform.apiLevel=4 sdk.platform.majorMinor=minor sdk.platform.releaseDate=December 2009 sdk.platform.deployableDate=October 2009 @jd:body
Date: {@sdkPlatformReleaseDate}
API Level: {@sdkPlatformApiLevel}
Android {@sdkPlatformVersion} is a {@sdkPlatformMajorMinor} platform release deployable to Android-powered handsets since {@sdkPlatformDeployableDate}. 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 Adding SDK Components.
For a list of new user features and platform highlights, see the Android {@sdkPlatformVersion} Platform Highlights document.
The sections below provide information about the available releases of the Android 1.6 platform.
December 2009. Requires SDK Tools r4 or higher.
API related:
DATA_ACTIVITY_DORMANT
,
PHONE_TYPE_CDMA
, NETWORK_TYPE_CDMA
,
NETWORK_TYPE_EVDO_0
, NETWORK_TYPE_EVDO_A
, and
NETWORK_TYPE_1xRTT
.System image:
Tools:
September 2009. Initial release. Requires SDK Tools r3 or higher.
The system image included in the downloadable platform provides these built-in applications:
|
|
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).
|
|
Localized UI strings match the locales that are accessible through Settings.
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.
The sections below provide information about the application framework API provided by the Android {@sdkPlatformVersion} platform.
The Android {@sdkPlatformVersion} platform delivers an updated version of the framework API. As with previous versions, 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 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.
AnticipateInterpolator
AnticipateOvershootInterpolator
BounceInterpolator
OvershootInterpolator
android:onClick
to specify a View's
View.OnClickListener
from a layout file.
To use APIs introduced in Android {@sdkPlatformVersion} in your application, you need to
set the proper value, "{@sdkPlatformApiLevel}", in the attributes of the <uses-sdk>
element in your application's manifest.
<supports-screen>
element, the system
displays the application in compatibility mode, which performs best-effort scaling
of the application UI to match the resolution and density of the screen.
The attributes available for defining an application's screen support are:
smallScreen
: Boolean value that indicates whether the
application is designed to run on devices with small screens.
Examples: QVGA low density; VGA high density.
normalScreens
: Boolean value that indicates whether
the application is designed to run on devices with normal screens.
Examples: WQVGA low density; HVGA medium density; WVGA high density.
largeScreens
: Boolean value that indicates whether
the application is designed to run on devices with significantly
larger screens, such that special care may be required on
the application's part to make proper use of the screen area.
Examples: VGA medium density; WVGA medium density.
anyDensity
: Boolean value that indicates whether
the application can accommodate any screen density.
resizable
: Boolean value that indicates whether
the application can expand its layout to fit slightly larger screens.
name
: The name of the feature required by the application. Currently accepts
"android.hardware.camera" and "android.hardware.camera.autofocus" values, which specify that a
camera and camera autofocus are required, respectively.glEsVersion
: Indicates the minimum version of OpenGL ES required.targetSdkVersion
: Indicates the API Level that the application is targeting.
It is able to run on older versions (down to minSdkVersion), but was explicitly tested to
work with the version specified here. Specifying this version allows the platform to
disable compatibility code that is not required or enable newer features that are not
available to older applications. maxSdkVersion
: Indicates the maximum API Level on which an application is
designed to run. Important: Please read the <uses-sdk>
documentation before using this attribute. For a detailed view of API changes in Android {@sdkPlatformVersion} (API Level {@sdkPlatformApiLevel}), as compared to the previous version, see the API Differences Report.