From eeb0b2514a8b4f175a9ef16a319437a61aedb8f3 Mon Sep 17 00:00:00 2001
From: Dirk Dougherty android:targetSdkVersion — Specifies the API Level
on which the application is designed to run. In some cases, this allows the
application to use manifest elements or behaviors defined in the target
-API Level, rather than those in the minimum API Level.android:maxSdkVersion — Specifies the maximum API Level
on which the application is able to run.
In particular, if you have an existing application that you would like to make available for users of devices with small screens (such as QVGA), please @@ -73,7 +71,11 @@ information about how to do that.
The sections below provide an overview of the Android platform's support for multiple screens, including an introduction to terms and concepts used in this document and in the API, a summary of the screen configurations that the platform supports, and an overview of the API and underlying screen-compatibility features.
+The sections below provide an overview of the Android platform's support for +multiple screens, including an introduction to terms and concepts used in this +document and in the API, a summary of the screen configurations that the +platform supports, and an overview of the API and underlying +screen-compatibility features.
Android 1.6 introduces a new manifest element, +
Android 1.6 introduced a new manifest element,
<supports-screens>,
whose attributes you can use to control the
display of your application on different classes of device screens, as listed
@@ -631,8 +633,8 @@ appropriate attributes to false.
Android 1.6 supports new resource directory qualifiers for selecting -resources based on the characteristics of the screen on which your application +
Android supports resource directory qualifiers for controlling the selection
+of resources based on the characteristics of the screen on which your application
is running. You can use these qualifiers to provide size- and density-specific
resources in your application. For more information about the generalized sizes
and densities that correspond to the qualifiers, see Table
@@ -693,14 +695,14 @@ to the baseline screen configuration.
@@ -975,8 +977,8 @@ Here's how to do that:Platform version
-
-v4Resources that are for use only on Android 1.6 (API Level 4) or higher
-platform versions. If your application is designed to run on both Android 1.5
-(or lower) and Android 1.6 (and higher), you can use this qualifier to tag
-resources that should be excluded when your application is running on Android
-1.5 or earlier. Using this qualifier is necessary in some cases, if the older
-platform is inadvertently loading resources from an Android 1.6 resources
-directory.
+
+v<api-level>Resources that are for use only on a specific API Level or higher. For
+example, if your application is designed to run on both Android 1.5 (API Level
+3) and Android 1.6 (API Level 4 and higher), you can use the
-v4
+qualifier to tag any resources that should be excluded when your application is
+running on Android 1.5 (API Level 3). Using the version qualifier is necessary
+in some cases, if the older platform is inadvertently loading resources from a
+directory containing resources for a newer platform.
android:minSdkVersion attribute as it is. You do not need
to increment the value of the attribute to support new devices and multiple
screens.
- android:targetSdkVersion — to the
+ android:targetSdkVersion — to the
uses-sdk element. Set the value of the attribute to
"4". This allows your application to "inherit" the platform's
multiple screens support, even though it is technically using an earlier version
@@ -988,11 +990,12 @@ later, this is where you will add them.v4
-qualifier. This ensures that those resources will be ignored when the
-application is run on Android 1.5 or lower platform versions.v<api-level>
+qualifier (for example, -v4). This ensures that those resources
+will be ignored when the application is run on Android 1.5 or lower platform
+versions.
The Android 1.6 SDK includes these emulator skins, which represent the -primary screen configurations that your should test:
+The Android 1.6 and higher platforms in the SDK include these emulator skins, +which represent the primary screen configurations that your should test:

For a list of supported locales, see the -Android -Version Notes.
+For a list of supported locales in a specific Android platform, see the +associated notes in the "SDK" tab, under "Downloadable SDK Components."
Run the application for each of the expected locales, plus one unexpected locale. Here are some of the results you should see:
diff --git a/docs/html/sdk/adding-components.jd b/docs/html/sdk/adding-components.jd index d4152e1..967c352 100644 --- a/docs/html/sdk/adding-components.jd +++ b/docs/html/sdk/adding-components.jd @@ -55,7 +55,7 @@ compatibility.Use the Android SDK and AVD Manager to install new SDK components. -To launch the SDK and AVD Manager in one of these ways:
+You can launch the SDK and AVD Manager in one of these ways:<sdk>/tools
@@ -95,12 +95,13 @@ you do not have.
By default, Available Components only shows -the default repository for platforms, the Google APIs -Add-On, and other SDK components. You can add additional sites that host -Android SDK add-ons, then download the SDK add-ons from them.
+By default, Available Components only shows the default +repository site, which offers platforms, SDK tools, documentation, the +Google APIs Add-on, and other components. You can add other sites that host +their own Android SDK add-ons, then download the SDK add-ons +from those sites.
-For example, a mobile carrier or device manufacturer may offer additional +
For example, a mobile carrier or device manufacturer might offer additional API libraries that are supported by their own Android-powered devices. In order to develop using their libraries, you must install their Android SDK add-on.
diff --git a/docs/html/sdk/adt-notes.jd b/docs/html/sdk/adt-notes.jd index 18c144e..639d5e8 100644 --- a/docs/html/sdk/adt-notes.jd +++ b/docs/html/sdk/adt-notes.jd @@ -48,8 +48,8 @@ bigger than the screen.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 will be available in the Android {@sdkPlatformVersion} system image are listed -below (with language_country/region locale descriptor).
+languages that are available in the Android {@sdkPlatformVersion} system +image are listed below (with language_country/region +locale descriptor).docs/ |
A full set of documentation in HTML format, including the Developer's Guide, -API Reference, and other information. | +API Reference, and other information. To read the documentation, load the +file||||||
platforms/ |
@@ -272,15 +266,21 @@ version.
as the emulator, the |||||||
RELEASE_NOTES.html |
-A file that loads the local version of the SDK release notes, if -available. | +SDK Readme.txt |
+A file that explains how to perform the initial setup of your SDK, +including how to launch the Android SDK and AVD Manager tool on all +platforms | ||||
SDK Setup.exe |
+For Windows SDK only. A shortcut that launches the Android SDK and AVD +Manager tool, which you use to add components to your SDK. | +||||||