diff --git a/docs/html/index.jd b/docs/html/index.jd index 9d349ca27f585..0d72e80b8a94a 100644 --- a/docs/html/index.jd +++ b/docs/html/index.jd @@ -120,25 +120,33 @@ home=true 'sdk': { 'layout':"imgLeft", 'icon':"sdk-small.png", - 'name':"Android 2.0", + 'name':"Android 2.0.1", 'img':"eclair-android.png", - 'title':"Android 2.0 has arrived!", - 'desc': "
Android 2.0 includes exciting new features and APIs. " + 'title':"Android 2.0.1", + 'desc': "
Android 2.0.1 is a minor platform update to Android 2.0. " + "For information about what's included in the new platform, read " - + "the Android 2.0 version notes.
" - + "If you have the Android 1.6 SDK, you can update your environment " - + "by installing the Android 2.0 platform and updated tools as " - + "SDK components. Otherwise, " + + "the Android 2.0.1 " + + "version notes.
" + + "You can update your existing environment " + + "by installing the Android 2.0.1 platform and updated tools as" + + " SDK " + + "components. Otherwise, " + "download a new Android SDK.
" }, 'devphone': { 'layout':"imgLeft", 'icon':"devphone-small.png", - 'name':"Dev Phone 1", + 'name':"Dev Phones", 'img':"devphone-large.png", - 'title':"Android Dev Phone 1", - 'desc': "Run and debug your Android applications directly on this device. Modify and rebuild the Android operating system, and flash it onto the phone. The Android Dev Phone 1 is carrier independent, and available for purchase by any developer registered with Android Market.
Learn more about the Android Dev Phone 1 »
" + 'title':"Android Dev Phones", + 'desc': "Run and debug your Android applications directly on one of these " + + "device. Modify and rebuild the Android operating system, and flash it onto " + + "the phone. The Android Dev Phones are carrier independent, and available for " + + "purchase by any developer registered with Android Market.
Learn more about the " + + "Android Dev Phones »
" }, 'mapskey': { diff --git a/docs/html/sdk/android-2.0.1.jd b/docs/html/sdk/android-2.0.1.jd new file mode 100644 index 0000000000000..f5df1ace059fc --- /dev/null +++ b/docs/html/sdk/android-2.0.1.jd @@ -0,0 +1,307 @@ +page.title=Android 2.0.1, Release 1 +sdk.platform.version=2.0.1 +sdk.platform.apiLevel=6 +sdk.platform.majorMinor=minor +sdk.platform.releaseDate=December 2009 +sdk.platform.deployableDate=December 2009 + +@jd:body + +
+Date: {@sdkPlatformReleaseDate}
+API Level: {@sdkPlatformApiLevel}
Android {@sdkPlatformVersion} is a {@sdkPlatformMajorMinor} platform release +deployable to Android-powered handsets starting in {@sdkPlatformDeployableDate}. +This release includes minor API +changes, bug fixes and framework behavioral changes. For information on changes +and fixes, see the Framework API section.
+ +For developers, the Android {@sdkPlatformVersion} platform is available as a +downloadable component for the Android SDK. The downloadable platform includes a +fully compliant Android library and system image, as well as a set of emulator +skins, sample applications, and more. The downloadable platform +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 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 +2.0 Platform Highlights document.
+ +The system image included in the downloadable platform provides these +built-in applications:
+ +
+
|
+
+
|
+
New with 2.0.1 The Dev Tools app now +includes a "Sync Tester" application to provide quick and easy testing of +third-party sync adapters.
+ +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 new developer features offered by the downloadable Android 2.0 platform component.
+ +zipalign optimization. For more information, see Signing Your Applications.The sections below provide information about changes made to the application +framework API provided by the Android {@sdkPlatformVersion} platform. Note, +however, that Android 2.0.1 is a minor release to Android 2.0, so for more +information about the changes made to in Android 2.0, please refer to the +Android 2.0 version notes.
+ + +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 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.
+ + +The following is a summary of changes to the framework APIs.
+ +The following is a summary of changes that affect the behavior of some +framework APIs but do not add or remove API functionality.
+ +Changes to the values returned by {@link +android.bluetooth.BluetoothAdapter#ACTION_REQUEST_ENABLE} and +{@link android.bluetooth.BluetoothAdapter#ACTION_REQUEST_DISCOVERABLE}:
+ +The {@link android.content.Intent#ACTION_INSERT} Intent now returns {@link +android.app.Activity#RESULT_CANCELED} in cases where the contact was not +persisted (for example, if the save was trimmed to a no-op).
+ + +The following is a summary of bug fixes that affect some framework APIs.
+ +The framework now correctly selects application resources in project +folders that use the API Level qualifier. For example, {@code drawable-v4/} is a +folder of drawable resources for API Level 4 (or higher) devices. This version +matching did not work properly and has been fixed.
+ +The {@link android.content.Intent#ACTION_INSERT} Intent now returns the +appropriate kind of URI when the request is made using the (now +deprecated) {@link android.provider.Contacts} APIs.
+ +For a detailed view of API changes in Android {@sdkPlatformVersion} (API Level {@sdkPlatformApiLevel}), as compared to +API Level 5, see the API +Differences Report. Note that this difference report compares only to +the most recent API Level, and there are few changes, so to see changes +introduces in Android 2.0 (API Level 5), see the API +Differences between 4 and 5.
+ diff --git a/docs/html/sdk/sdk_toc.cs b/docs/html/sdk/sdk_toc.cs index 8c6e2c9c25da0..589cd63f24fdf 100644 --- a/docs/html/sdk/sdk_toc.cs +++ b/docs/html/sdk/sdk_toc.cs @@ -61,14 +61,18 @@