+
We're hosting the next Android Developer Lab in Barcelona at Mobile World Congress » on Wednesday February 17th at App Planet », located in Hall 7. Come visit us to attend a technical presentation, talk to our Android developer relations team, and meet other members of the developer community.
- +Android will be at the 2010 Game Developers Conference in San Francisco, from March 9th to 11th. We're looking forward to seeing you there!
+Welcome to the Android developers community! We're glad you're here and invite you to participate in discussions with other Android application developers on topics that interest you.
+The lists on this page are primarily for discussion about Android application development. If you are seeking discussion about Android source code (not application development), then please refer to the Open Source Project Mailing lists.
- -Contents
--
-
- Stack Overflow new! -
- Mailing lists +
Welcome to the Android developers community! We're glad you're here and invite you to participate in discussions with other Android application developers on topics that interest you.
+ +The lists on this page are primarily for discussion about Android application development. If you are seeking discussion about Android source code (not application development), then please refer to the Open Source Project Mailing lists.
Stack Overflow
diff --git a/docs/html/resources/community-more.jd b/docs/html/resources/community-more.jd index 2be015a94676a..9f16feaffbf2f 100644 --- a/docs/html/resources/community-more.jd +++ b/docs/html/resources/community-more.jd @@ -2,7 +2,7 @@ community=true page.title=IRC and Twitter @jd:body -In addition to the Android developer groups, you can also participate in the Android developer community through IRC, and you can also follow us on Twitter.
+In addition to the Android developer forums, you can participate in the Android developer community through IRC and you can follow us on Twitter.
IRC
@@ -31,10 +31,10 @@ page.title=IRC and Twitter- Set your nickname before you join the channel.
- Registering your nickname prevents others from using your nickname or impersonating you later:
-
/nick <yournickname> -/msg nickserv register <password> <email>
+/nick <yournickname> +/msg nickserv register <password> <email>
Afterwards, when you connect, you'll need to supply a password:
-/connect irc.freenode.net +
/connect irc.freenode.net /nick <yournickname> /msg nickserv identify <password> /join #android-dev
diff --git a/docs/html/resources/resources_toc.cs b/docs/html/resources/resources_toc.cs index 097202924d35f..659e08eba20ca 100644 --- a/docs/html/resources/resources_toc.cs +++ b/docs/html/resources/resources_toc.cs @@ -171,9 +171,12 @@-
+
- + Getting the Samples +
-
-
diff --git a/docs/html/resources/samples/get.jd b/docs/html/resources/samples/get.jd
new file mode 100644
index 0000000000000..898bc49c0f168
--- /dev/null
+++ b/docs/html/resources/samples/get.jd
@@ -0,0 +1,90 @@
+page.title=Getting the Samples
+
+@jd:body
+
+
Sometimes, the best way to learn how things are done is to look at some +code.
+ +To help you get started quickly, the Android SDK includes a variety of sample +code and tutorials that illustrate key concepts and techniques of Android +application development. For example, the samples show the structure of the +manifest file and the use of activities, services, resources, +intents, content providers, and permissions. They also show how to add +specialized capabilities to your apps, such as Bluetooth and Contacts +integration, multiple screens support, Live Wallpaper, and more.
+ +The SDK provides the samples both as source code and as browseable HTML, as +described in the sections below. All of the samples included in the SDK are +licensed under the Apache +2.0 license, so feel free to use any of the code in your own applications as +needed!
+ +Downloading the Sample Code
+ +The SDK sample code is available to you as a set of downloadable SDK +components, each of which contains the samples for a specific Android platform +version. Once you have installed the SDK, you can download one or more samples +component(s) into your SDK environment using the Android SDK and AVD Manager +tool, which is pre-installed in the SDK.
+ +To download the samples, launch the Android SDK and AVD Manager tool and +select one of the samples components from the Available +Packages panel, for example "Samples for SDK API 7". Select +Install Selected, verify and accept the download, then select +Install Accepted to download the component into your SDK. If +you aren't familiar with the Android SDK and AVD Manager and how to launch or +use it, please read the Adding +SDK Components document.
+ +When the download is complete, you can find the samples sources on your +computer in this location:
+ ++
+ +<sdk>/samples/<platform-version>/+You can easily create new Android projects with the downloaded samples, modify them +if you'd like, and then run them on an emulator or device.
+ +For example, if you are developing in Eclipse with the ADT Plugin, you can +create a project for the "API Demos" sample app by starting a new Android +Project, selecting "Create project from existing source", and then browsing to +the
+ +<sdk>/samples/<platform>/ApiDemos+directory (thesamplesdirectory for the platform version you are +using).If you are not working in Eclipse, you can create a project for the API Demos +sample using the
+ +androidtool, by executing this command:+android update project -s -n API Demos -t <target_ID> -p <path>samples/<platforms>/ApiDemos/ +
+ +Browsing the Sample Code
+ +For your convenience, the SDK provides browseable source code for the latest +versions of the samples. You can use your browser to navigate through the +structure of each sample and look at the source code in each of its files.
+ +To browse the samples, go to the List of Sample Apps first. +From there you can read a short summary of each sample application and what +types of concepts, features, or APIs it includes. Then, use the links provided +to move through the directories and files of each sample. The browseable source +is generated from the same source code that is downloadable through the Android +SDK and AVD Manager, as described above.
+ +The browseable samples files are available online, at the Android Developers +site only and are not included in the downloadable offline documentation. +Note that, although samples for several platform versions are available for +download, only the samples for the latest platform version are browseable online. +
+ + +More Sample Code
+ +If you are looking for more sample code, check out +apps-for-android, a +collection of open source applications that demonstrate various Android APIs.
+ + diff --git a/docs/html/resources/samples/index.jd b/docs/html/resources/samples/index.jd index 5ebf41c2ca98f..044c69de474fe 100644 --- a/docs/html/resources/samples/index.jd +++ b/docs/html/resources/samples/index.jd @@ -1,38 +1,21 @@ -page.title=Sample Code +page.title=List of Sample Apps @jd:body +The list below provides a summary of the sample applications that are +available with the Android SDK. Using the links on this page, you can view +the source files of the sample applications in your browser.
-Sometimes, the best way to learn how things are done is to look at some code.
- -Here, you can browse the source of some sample Android applications. Also, each version of the -Android platform available for the SDK includes a set of sample -applications (which may vary between different versions of the platform). -You can find the samples in your SDK at:
- --
- -<sdk>/platforms/android-<version>/samples/-You can easily create new Android projects with these samples, modify them -if you'd like, then run them on an emulator or device. For example, to create -a project for the API Demos app from Eclipse, -start a new Android Project, select "Create project from existing source", then select -{@code ApiDemos} in the {@code samples/} directory. To create the API Demos project -using the {@code android} tool, execute:
--android update project -s -n API Demos -t <target_ID> -p <path-to-platform>/samples/ApiDemos/ -
- -The pages below provide an overview of each sample application (available with most -platforms) and allow you to view the source files in your browser.
- +You can also download the source of these samples into your SDK, then +modify and reuse it as you need. For more information, see Getting the Samples.
+- API Demos diff --git a/docs/html/sdk/RELEASENOTES.jd b/docs/html/sdk/RELEASENOTES.jd index ae86a4b4e897f..a94eba7a0a872 100644 --- a/docs/html/sdk/RELEASENOTES.jd +++ b/docs/html/sdk/RELEASENOTES.jd @@ -39,8 +39,8 @@ now available from the "SDK" tab, under "Downloadable SDK Components."
- Notes for the Android 2.0.1 platform are in the Android 2.0.1, Release 1 document.
- You can find information about tools changes in the SDK Tools Notes and ADT Plugin Notes.
+href="{@docRoot}sdk/tools-notes.html#notes">SDK Tools and ADT Plugin for Eclipse.
To get started with the SDK, review the Quick Start summary on the
The new version of ADT is downloadable from the usual remote update site or is separately downloadable as a .zip archive. For instructions on how to download the plugin, please see Installing and Updating ADT.
+href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin for Eclipse.Android SDK and AVD Manager
@@ -545,7 +545,7 @@ testing. Plugin for Eclipse is 0.8.0. If you are using a previous version of ADT, you should update to the latest version for use with this SDK. For information about how to update your ADT plugin, see -Installing and Updating ADT. +ADT Plugin for Eclipse.Installation and Upgrade Notes
@@ -651,7 +651,7 @@ added. Development Tools (ADT) Plugin for Eclipse is 0.8.0. If you are using a previous version of ADT, you should update to the latest version for use with this SDK. For information about how to update your ADT plugin, see Installing and Updating ADT. +href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin for Eclipse.Other Notes
diff --git a/docs/html/sdk/adding-components.jd b/docs/html/sdk/adding-components.jd index d7c886efa8d2f..90e90457f97f0 100644 --- a/docs/html/sdk/adding-components.jd +++ b/docs/html/sdk/adding-components.jd @@ -7,22 +7,17 @@ page.title=Adding SDK ComponentsQuickview
- Use the Android SDK and AVD Manager to - keep your SDK up-to-date without having to install new - SDK directories. -
- The Android SDK and AVD Manager is available only with the - Android 1.6 SDK or later. -
- The Eclipse ADT plugin may require an update when installing - new tools or system images. + set up your SDK and keep it up-to-date.
-
diff --git a/docs/html/resources/samples/get.jd b/docs/html/resources/samples/get.jd
new file mode 100644
index 0000000000000..898bc49c0f168
--- /dev/null
+++ b/docs/html/resources/samples/get.jd
@@ -0,0 +1,90 @@
+page.title=Getting the Samples
+
+@jd:body
+
+
In this document
Adding and updating components in your Android SDK is fast and easy. To perform an update, use the Android SDK and AVD Manager to install or update the individual SDK components that you need. The Android SDK -and AVD Manager tool is included in Android 1.6 and later SDK packages.
+and AVD Manager tool is included in the Android SDK +download. -It only takes a couple of clicks to install -individual versions of the Android platform, new development tools, new documentation, and -SDK add-ons. The new SDK components are automatically installed into your existing SDK -directory, so you don't need to update your development environment to specify a -new SDK location.
+It only takes a couple of clicks to install individual versions of the +Android platform, new development tools, new documentation, and SDK add-ons. The +new SDK components are automatically installed into your existing SDK directory, +so you don't need to update your development environment to specify a new SDK +location.
-Because each version of the Android platform can be installed as an individual component -of your SDK, you can customize your development environment to the Android platforms -you are targetting. Testing your app on multiple versions of -the platform is very important in order to successfully operate on as many devices as possible. -Be sure to install each version of the Android platform with which your app is compatible, then test -your apps on AVDs that run each platform.
+Because each version of the Android platform can be installed as an +individual component of your SDK, you can customize your development environment +to the Android platforms you are targetting. Testing your app on multiple +versions of the platform is very important in order to successfully operate on +as many devices as possible. Be sure to install each version of the Android +platform with which your app is compatible, then test your apps on AVDs that run each +platform.
+ +If you are just getting started and you are not sure what components to install, +see Adding Platforms and Other +Components for information.
If you develop applications using Eclipse, you may also need to update your -ADT plugin when you update your development tools or in order to compile against -a new version of the platform. See the SDK Tools Notes document for ADT -compatibility.
+ADT plugin when you update your development tools, in order to compile against +a new version of the platform. See the revisions listed in the SDK Tools document for ADT +Plugin compatibility. + +
+Figure 1. The Android SDK and AVD Manager's +Available Packages +panel, which shows the SDK components that are +available for you to download into your environment.
+Launching the Android SDK and AVD Manager
+ +The Android SDK and AVD Manager is the tool that you use to install and +upgrade SDK components in your development environment.
+ +You can access the tool in any of three ways:
+-
+
- If you are developing in the Eclipse IDE with the ADT Plugin, you can access +the tool directly from the Eclipse UI. +
- On Windows only, you can launch he tool by double-clicking a script file. +
- In all environments, you can access the tool from a command line. +
Launching from Eclipse/ADT
+ +If you are developing in Eclipse and have already installed the ADT Plugin, +follow these steps to access the Android SDK and AVD Manager tool:
+ +-
+
- Open Eclipse +
- Select Window > Android SDK and AVD +Manager. +
Launching from the setup script (Windows only)
+ +For Windows only, the SDK includes a script that invokes the Android SDK and +AVD Manager. To launch the tool using the script, double-click "SDK +Setup.exe" at the root of the the SDK directory.
+ +Launching from a command line
+ +In all development environments, follow these steps to access the Android SDK +and AVD Manager tool from the command line:
+ +-
+
- Navigate to the
<sdk>/tools/directory.
+ - Execute the {@code android} tool command with no options.
+
$ android
+
Installing SDK Components
-Use the Android SDK and AVD Manager to install new SDK components.
-Important: Before you install SDK components, we recommend that you disable any antivirus programs that may be running on your computer.
-You can launch the SDK and AVD Manager in one of these ways:
--
-
- Execute the {@code android} tool command with no options. If you
-haven't used the tool before, change to the
<sdk>/tools-directory and run the command: -$ android
- - If you have downloaded the SDK Tools (Revision 3 or higher) and are - running Windows, you can double-click "SDK Setup.exe" in the SDK directory. -
- If you are developing in Eclipse with ADT, you can select - Window >Android SDK and AVD Manager. -
Follow these steps to install new SDK components in your environment:
-
-
-When a new platform version, add-on, set of development tools or -documentation becomes available, you can quickly install them into your existing -Android SDK:
-
-
- Select Available Components in the left panel. - This will reveal all components currently available for download. -
- Select the components you'd like to install and click Install - Selected. +
- Launch the Android SDK and AVD Manager as described in the section above. +
- Select Available Packages in the left panel. + This will reveal all of the components that are currently available for download + from the SDK repository. +
- Select the component(s) you'd like to install and click Install + Selected. If you aren't sure which packages to select, read Which components do I need?.
- Verify and accept the components you want and click Install Accepted. The components will now be installed into your existing Android SDK directories. @@ -93,14 +132,56 @@ new add-ons are saved in the
- You can watch for updates listed in the "SDK" tab of the Android Developers +site, in the "Downloadable SDK Components" section. +
- You can watch for updates listed in the Available Packages +panel of the Android SDK and AVD Manager. +
- Select Available Components in the left panel. +
- Select Available Packages in the left panel.
- Click Add Site and enter the URL of the {@code repository.xml} file. Click OK.
- Click Save & Apply.
<sdk>/add-ons/
directory; and new documentation is saved in the existing
<sdk>/docs/ directory (old docs are replaced).
+
+Updating SDK Components
+ +From time to time, new revisions of existing SDK components are released and +made available to you through the SDK repository. In most cases, if you have those +components installed in your environment, you will want +to download the new revisions as soon as possible.
+ +You can learn about the release of new revisions in two ways:
+ +-
+
When you see that a new revision is available, you can use the Android SDK +and AVD Manager to quickly download it to your environment. Follow the same +procedure as given in Installing SDK Components, above. The new +component is installed in place of the old, but without impacting your +applications.
+Tip: Use the "Display updates only" checkbox to show only the components you do not have.
-Adding New Sites
+SDK Component Dependencies
-By default, Available Components only shows the default +
In some cases, an SDK component may require a specific minimum revision of +another component or SDK tool. Where such dependencies exist, they are +documented in the revision notes for each component, available from the links in +the "Downloadable SDK Components" section at left.
+ +For example, there may be a dependency between the ADT Plugin for Eclipse and +the SDK Tools component. When you install the SDK Tools +component, you would then need to upgrade to the required version of ADT (if you +are developing in Eclipse). In this case, you would find dependencies listed in +"Revisions" section of the ADT +Plugin Notes and SDK Tools +Notes documents.
+ +Additionally, the development tools will notify you with debug warnings +if there is dependency that you need to address.
+ + +Adding New Sites
+ +By default, Available Packages 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 @@ -115,14 +196,14 @@ on their web site, follow these steps to add their site to the SDK and AVD Manager:
-
-
Any SDK components available from the site will now be listed under -Available Components.
+Available Packages. -Troubleshooting
+Troubleshooting
Problems connecting to the SDK repository
@@ -138,18 +219,4 @@ protocol used by the SDK and AVD Manager, follow these steps:SDK Component Dependencies
-In some cases, a specific SDK component may require a specific minimum -version of another component or SDK tool. Such dependencies are documented -in the release notes for each component.
- -For example, there may be a dependency between the ADT plugin for Eclipse and -a specific version of the SDK Tools component. When you install the SDK Tools -component, you would then need to upgrade to the required version of ADT (if you -are developing in Eclipse). In this case, you would find dependencies listed in -the ADT Plugin Notes and SDK Tools Notes documents.
- -Additionally, the development tools will notify you with debug warnings -if there is dependency that you need to address.
diff --git a/docs/html/sdk/adt-notes.jd b/docs/html/sdk/adt-notes.jd index 361d99aea3fc3..291b543f13fb4 100644 --- a/docs/html/sdk/adt-notes.jd +++ b/docs/html/sdk/adt-notes.jd @@ -1,83 +1,5 @@ -page.title=ADT Plugin Notes +page.title=ADT Plugin for Eclipse +sdk.redirect=true +sdk.redirect.path=eclipse-adt.html + @jd:body - -Android Development Tools (ADT) is a development plugin for the Eclipse IDE. It -extends the capabilites of Eclipse to let you quickly set up new Android -projects, create an application UI, add components based on the Android -Framework API, debug your applications using the Android SDK tools, and even export -signed (or unsigned) APKs in order to distribute your application.
- -This document provides version-specific information about ADT releases. To -keep up-to-date on new releases, make sure that you view this page at http://developer. -android.com/sdk/adt-notes.html.
- -To install ADT in your Eclipse IDE environment, use the Eclipse Update Site -feature. For more information, see Installing and Updating ADT.
- - -ADT 0.9.5
- -December 2009. ADT 0.9.5 provides several bug fixes for developers, -as described below. -
- -Dependencies
- -ADT 0.9.5 requires features provided in SDK Tools r4. If you install -ADT 0.9.5, which is highly recommended, you should use the Android SDK and AVD -Manager to download SDK Tools r4 or higher into your SDK. For more information, -see Adding SDK Components. -
- -General Notes
--
-
- AVD Launch dialog now shows scale value. -
- Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no skin name specified. -
- Fixes XML validation issue in on older Java versions. -
- .apk packaging now properly ignores vi swap files as well as hidden files. -
ADT 0.9.4
- -October 2009. ADT 0.9.4 provides several new features for developers, as described below. -
- -Dependencies
- -ADT 0.9.4 requires features provided in SDK Tools, revision 3. If you install -ADT 0.9.4, which is highly recommended, you should use the Android SDK and AVD -Manager to download SDK Tools r3 or higher into your SDK. For more information, -see Adding SDK Components. -
- -Project Creation Wizard
--
-
- New option to create a project from a sample by choosing it from a list. -
Layout Editor
--
-
- Improved Configuration selector that lets you see how your layout will -render on different devices. Default device descriptions include ADP1 -and Google Ion, while SDK add-ons can also provide new descriptions. -A new UI allows you to create custom descriptions. -
- Adds a new clipping toggle, to let you see your full layout even if it's -bigger than the screen. -
DDMS Integration
--
-
- Includes the improvements from the standlone DDMS, revision 3. -
- Adds an option to open HPROF files into eclipse instead of writing them on -disk. If a profiler such as MAT (Memory Analyzer -Tool) is installed, it'll open the file. -
Android SDK and AVD Manager integration
--
-
- Includes the improvements from the standalone Android SDK and AVD Manager, -revision 3. -
In this document
- Platform Highlights +
- Revisions
- Built-in Applications
- Locales
- Emulator Skins @@ -33,7 +34,6 @@ sdk.platform.deployableDate=May 2009
- Dependencies: +
-
+
Requires SDK Tools r3 or higher.
+
+ - Platform Highlights -
- Release Notes +
- Revisions
- Built-in Applications
- Locales
- Emulator Skins @@ -34,7 +34,6 @@ sdk.platform.deployableDate=October 2009
- Dependencies: +
-
+
Requires SDK Tools r4 or higher.
+
- - Properly exposes CDMA-related constants in {@link android.telephony.TelephonyManager android.telephony.TelephonyManager}:
DATA_ACTIVITY_DORMANT, +- 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. +
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:
--
+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, Release 1
- -September 2009. Initial release. Requires SDK Tools r3 or higher.
+(code coverage). +- Fixes emulator skins to properly emulate d-pad in landscape mode.
+- Fixes density rendering in the layout editor in ADT.
+ +
+ - Dependencies +
-
+
Requires SDK Tools r3 or higher.
+
+ -
diff --git a/docs/html/sdk/android-2.0.1.jd b/docs/html/sdk/android-2.0.1.jd
index 43b1710d85905..cacb6bfa2409e 100644
--- a/docs/html/sdk/android-2.0.1.jd
+++ b/docs/html/sdk/android-2.0.1.jd
@@ -13,6 +13,7 @@ sdk.platform.deployableDate=December 2009
In this document
- Platform Highlights +
- Revisions
- Built-in Applications
- Locales
- Emulator Skins @@ -39,7 +40,7 @@ differences report »
- Dependencies: +
-
+
Requires SDK Tools r4 or higher.
+
+ - Platform Highlights +
- Revisions
- Built-in Applications
- Locales
- Emulator Skins @@ -34,7 +35,6 @@ sdk.platform.deployableDate=November 2009
- Dependencies: +
-
+
Requires SDK Tools r3 or higher.
+
+ - Platform Highlights +
- Revisions
- Built-in Applications
- Locales
- Emulator Skins @@ -36,7 +36,6 @@ differences report »
- Dependencies: +
-
+
Requires SDK Tools r4 or higher.
+
+ - Prepare for Installation +
- Revisions
- Installing the ADT Plugin @@ -21,50 +24,266 @@ sdk.preview=0 -
- Dependencies: + +
ADT 0.9.6 is designed for use with SDK Tools r5 and later. Before +updating to ADT 0.9.6, we highly recommend that you use the Android SDK and +AVD Manager to install SDK Tools r5 into your SDK.
+
+- General Notes: +
-
+
-
+
- Editing
default.propertiesoutside of Eclipse will now +automatically update the project.
+ - Loads the SDK content only when a project requires it. This will make +Eclipse use less resources when the SDK contains many versions of Android. +
- Resolves potential deadlock between modal dialogs, when launching ADT the +first time with the SDK Usage panel. +
- Fixes issues with the New Project Wizard when selecting samples. +
+ - Editing
- AVD/SDK Manager: +
-
+
-
+
- Adds support for platform samples components. +
- Improves support for dependency between components. +
- AVDs now sorted by API level. +
- The AVD creation dialog now enforces a minimum SD card size of 9MB. +
- Prevents deletion of running AVDs. +
+ - DDMS: +
-
+
-
+
- DDMS plug-in now contains the Allocation Tracker view. +
- New action in the Logcat view: "Go to problem" lets you go directly from an +exception trace output to the code. +
+ - Editors: +
-
+
-
+
- Explode mode in the Visual Layout Editor adds a margin to all layout objects +so that it's easier to see embedded or empty layouts. +
- Outline mode in the Visual Layout Editor draws layout outline to make it +easier to see layout objects. +
- Several fixes in the configuration selector of the Visual Layout +Editor. +
+ - Application launching: +
-
+
-
+
- Applications launched from ADT now behave as if they were clicked from the +Home screen. +
- Fixes issue where add-on with no optional library would not show up as valid +targets for application launches. +
- Resolves possible crash when launching applications. +
+ - Dependencies: + +
ADT 0.9.5 requires features provided in SDK Tools r4 or higher. If you install +ADT 0.9.5, which is highly recommended, you should use the Android SDK and AVD +Manager to download thye latest SDK Tools into your SDK. For more information, +see Adding SDK Components.
+
+
+- General Notes: +
-
+
-
+
- AVD Launch dialog now shows scale value. +
- Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no skin name specified. +
- Fixes XML validation issue in on older Java versions. +
- .apk packaging now properly ignores vi swap files as well as hidden files. +
+ - Dependencies: + +
ADT 0.9.4 requires features provided in SDK Tools r3 or higher. If you install +ADT 0.9.4, which is highly recommended, you should use the Android SDK and AVD +Manager to download the latest SDK Tools into your SDK. For more information, +see Adding SDK Components.
+
+
+- Project Creation Wizard: +
-
+
-
+
- New option to create a project from a sample by choosing it from a list. +
+
+ - Layout Editor: +
-
+
-
+
- Improved Configuration selector that lets you see how your layout will +render on different devices. Default device descriptions include ADP1 +and Google Ion, while SDK add-ons can also provide new descriptions. +A new UI allows you to create custom descriptions. +
- Adds a new clipping toggle, to let you see your full layout even if it's +bigger than the screen. +
+
+ - DDMS Integration: +
-
+
-
+
- Includes the improvements from the standlone DDMS, revision 3. +
- Adds an option to open HPROF files into eclipse instead of writing them on +disk. If a profiler such as MAT (Memory Analyzer +Tool) is installed, it'll open the file. +
+
+ - Android SDK and AVD Manager integration: +
-
+
-
+
- Includes the improvements from the standalone Android SDK and AVD Manager, +revision 3. +
+ - If Eclipse is already installed on your computer, make sure that it is +a version that is compatible with ADT and the Android SDK. Check the System Requirements document for +a list of Eclipse versions that are compatible with the Android SDK. +
- If you need to install or update Eclipse, you can download it from this
+location:
http://www.eclipse.org/downloads/
-A Java or RCP version of Eclipse is recommended.
+A Java or RCP version of Eclipse is recommended.
+ - Select Window > Preferences... to open the Preferences panel (Mac OS X: Eclipse > Preferences). @@ -131,8 +354,10 @@ download the ADT plugin and install it in your respective Eclipse environment.
- Click Apply, then OK.
- Follow steps 1 and 2 in the default install
+
- Follow steps 1 and 2 in the default install instructions (above).
- In the Add Site dialog, click Archive.
- Browse and select the downloaded zip file.
@@ -187,7 +412,7 @@ manually install it: "Android Plugin") in the "Name" field. - Click OK.
- Follow the remaining procedures as listed for - default installation above, + default installation above, starting from step 4.
- Prepare for Installation -
- Install the SDK -
- Install the ADT Plugin for Eclipse -
- Add Platforms and Other SDK Components -
- Explore the SDK +
- Preparing Your Development Computer +
- Downloading the SDK Starter Package +
- Installing the ADT Plugin for Eclipse +
- Adding Platforms and Other Components + +
- Exploring the SDK
- Next Steps
- Troubleshooting
- SDK Tools (available pre-installed in the Android SDK +
- SDK Tools (pre-installed in the Android SDK starter
package) — Contains the full set of SDK tools for developing, debugging,
and testing your application code and UI. You can read about the tools in the Dev Guide and access them
in the
<sdk>/tools/directory.
- - Android platforms — An SDK platform component is +
- Android platforms — An SDK platform is
available for every production Android platform deployable to Android-powered
devices. Each platform component includes a fully compliant Android library and
system image, sample code, emulator skins, and any version specific tools. For
@@ -180,30 +203,133 @@ access to powerful mapping capabilities through the
com.google.android.mapslibrary. You can also add additional repositories, so that you can download other SDK add-ons, where available.
+ - USB Driver for Windows — Contains driver files +that you can install on your Windows computer, so that you can run and debug +your applications on an actual device. You do not need the USB driver unless +you plan to debug your application on an actual Android-powered device. If you +develop on Mac OS X or Linux, you do not need a special driver to debug +your application on an Android-powered device. + +
- Samples — Contains the sample code and apps available +for each Android development platform. If you are just getting started with +Android development, make sure to download the samples to your SDK. +
- Documentation — Contains a local copy of the latest -multiversion documentation for the Android framework API. - +multiversion documentation for the Android framework API.
- SDK Archives diff --git a/docs/html/sdk/tools-notes.jd b/docs/html/sdk/tools-notes.jd index 1b0d8f0f93d2e..3db226f54932c 100644 --- a/docs/html/sdk/tools-notes.jd +++ b/docs/html/sdk/tools-notes.jd @@ -1,39 +1,131 @@ -page.title=SDK Tools Notes +page.title=SDK Tools @jd:body -
- Dependencies: +
-
+
- If you are developing in Eclipse with ADT, note that SDK Tools r5 is +designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we +highly recommend updating your ADT Plugin to 0.9.6. +
- For Mac OS platforms, OS X 10.4.x (Tiger) is no longer +officially supported. +
+
+- SDK and AVD Manager: +
-
+
-
+
- Fixes SSL download for the standalone version of the SDK Updater. +
- Fixes issue with 64-bit JVM on Windows. +
- Adds support for platform samples components. +
- Improves support for dependency between components. +
- AVDs now sorted by API level. +
- The AVD creation dialog now enforces a minimum SD card size of 9MB. +
- Prevents deletion of running AVDs. +
- Settings are now automatically saved, no need to click "Apply". +
+
+ - Emulator: +
-
+
-
+
- Emulator now requires SD card to be 9MB or more. +
+
+ - Layoutopt: +
-
+
-
+
- Fixes
layoutopt.batto execute correctly on Windows.
+
+ - Fixes
- Dependencies: +
SDK Tools r4 is compatible with ADT 0.9.5 and later, but not compatible with earlier versions. If you are developing in Eclipse with ADT, you must update your ADT plugin to version 0.9.5 or higher if you -install SDK Tools r4 in your SDK.
+install SDK Tools r4 in your SDK.
-- General notes: +
-
- Launcher script now forces GDK_NATIVE_WINDOW=true (linux only), to fix a compatibility issue between GTK and SWT.
- - Android SDK and AVD Manager: +
-
- AVD Launch dialog now shows scale value.
- Fixes potential NPE in SDK Manager on AVD launch, for older AVD with no @@ -41,38 +133,50 @@ skin name specified.
- Fixes XML validation issue in on older Java versions.
- No longer forces the use of Java 1.5 on Mac OS X.
- - Emulator: +
-
- No longer limits the size of the system partition.
- - Ant build tools: +
-
- .apk packaging now properly ignores vi swap files as well as hidden files.
+ - Dependencies: +
SDK Tools r3 is compatible with ADT 0.9.4 and later, but not compatible with earlier versions. If you are developing in Eclipse with ADT, you must update your ADT plugin to version 0.9.4 or higher if you -install SDK Tools r3 in your SDK.
+install SDK Tools r3 in your SDK. +
-- Android tool: +
-
- Adds new
android create test-projectandandroid update test-projectcommands to allow for greater flexibility in the location of the main and test projects.
- - Adds new
- DDMS: +
-
- Adds a button to dump HPROF file for running appplications (app must be able to write to the sdcard). @@ -83,8 +187,10 @@ display the trace. 10.6.
- Fixed screenshot support for devices running 32-bit framebuffer.
- - Android SDK and AVD Manager: +
-
- Provides a new UI that lets you set options for controlling the emulator skin, screen size/density, and scale factor used when launching @@ -94,14 +200,17 @@ properties of your AVDs.
- Now enforces dependencies between platforms and tools components, and between SDK add-ons and platforms.
- - Layoutopt, a new tool for optimizing layouts: -
The SDK Tools r3 package includes
- +href="/guide/developing/tools/layoutopt.html">layoutopt. +layoutopt, a new command-line tool that helps you optimize your layout hierarchies. When run against your layout files, the tool analyzes their hierarchies and notifies you of inefficiencies and other potential issues. The tool also provides simple solutions for the issues it finds. For usage, see layoutopt. -
+Adds support for the Nexus One.
+Adds support for the Verizon Droid (or similar hardware on +other carriers).
+Initial release of the WinUsb-based driver, with support +for the T-Mobile G1 and myTouch 3G (and similar devices).
+
-Date: {@sdkPlatformReleaseDate}
API Level: {@sdkPlatformApiLevel}
Android {@sdkPlatformVersion} is a {@sdkPlatformMajorMinor} platform release @@ -60,6 +60,81 @@ Components.
href="http://developer.android.com/sdk/android-{@sdkPlatformVersion}-highlights.html">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.5, Revision 3 (July 2009)
+ -
+
+ Android 1.5, Revision 2 (May 2009)
+ Not available as an SDK component — please use Android 1.5, r3 instead.
+
+ Android 1.5, Revision 1 (April 2009)
+ Not available as an SDK component — please use Android 1.5, r3 instead.
+Built-in Applications
diff --git a/docs/html/sdk/android-1.6.jd b/docs/html/sdk/android-1.6.jd index 7151325626b92..e0bac41c3089a 100644 --- a/docs/html/sdk/android-1.6.jd +++ b/docs/html/sdk/android-1.6.jd @@ -1,4 +1,4 @@ -page.title=Android 1.6, Release 2 +page.title=Android 1.6 Platform sdk.platform.version=1.6 sdk.platform.apiLevel=4 sdk.platform.majorMinor=minor @@ -13,7 +13,7 @@ sdk.platform.deployableDate=October 2009In this document
-Date: {@sdkPlatformReleaseDate}
API Level: {@sdkPlatformApiLevel}
Android {@sdkPlatformVersion} is a {@sdkPlatformMajorMinor} platform release @@ -63,44 +62,106 @@ href="http://developer.android.com/sdk/android-{@sdkPlatformVersion}-highlights. {@sdkPlatformVersion} Platform Highlights document.
-Release Notes
+Revisions
-The sections below provide information about the available releases of the -Android 1.6 platform.
+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, Release 2
+ + -December 2009. Requires SDK Tools r4 or higher.
+
+ Android 1.6, Revision 2 (December 2009)
+ -
+
API related:
--
-
+ Android 1.6, Revision 1 (September 2009)
+ -
+
Built-in Applications
@@ -188,7 +249,9 @@ 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:
+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:
-Date: {@sdkPlatformReleaseDate}
+
API Level: {@sdkPlatformApiLevel}
Android {@sdkPlatformVersion} is a {@sdkPlatformMajorMinor} platform release @@ -67,6 +68,64 @@ Components.
href="http://developer.android.com/sdk/android-2.0-highlights.html">Android 2.0 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 2.0.1, Revision 1 (December 2009)
+ -
+
Built-in Applications
The system image included in the downloadable platform provides these diff --git a/docs/html/sdk/android-2.0.jd b/docs/html/sdk/android-2.0.jd index 9dadf8b2155ae..a430f349efd10 100644 --- a/docs/html/sdk/android-2.0.jd +++ b/docs/html/sdk/android-2.0.jd @@ -13,6 +13,7 @@ sdk.platform.deployableDate=November 2009
In this document
-Date: {@sdkPlatformReleaseDate}
API Level: {@sdkPlatformApiLevel}
Android {@sdkPlatformVersion} is a {@sdkPlatformMajorMinor} platform release @@ -50,7 +50,7 @@ compliant 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 platform into your Android 1.6 or later SDK. For more information, +download the platform into your SDK. For more information, see Adding SDK Components.
@@ -61,6 +61,64 @@ Components. href="http://developer.android.com/sdk/android-{@sdkPlatformVersion}-highlights.html">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 2.0, Revision 1 (October 2009)
+ -
+
Built-in Applications
The system image included in the downloadable platform provides these diff --git a/docs/html/sdk/android-2.1.jd b/docs/html/sdk/android-2.1.jd index b546f0f44f9c1..dfa82b3166268 100644 --- a/docs/html/sdk/android-2.1.jd +++ b/docs/html/sdk/android-2.1.jd @@ -1,8 +1,7 @@ -page.title=Android 2.1, Release 1 +page.title=Android 2.1 Platform sdk.platform.version=2.1 sdk.platform.apiLevel=7 sdk.platform.majorMinor=minor -sdk.platform.releaseDate=January 2010 sdk.platform.deployableDate=January 2010 @jd:body @@ -13,6 +12,7 @@ sdk.platform.deployableDate=January 2010
In this document
-Date: {@sdkPlatformReleaseDate}
API Level: {@sdkPlatformApiLevel}
Android {@sdkPlatformVersion} is a {@sdkPlatformMajorMinor} platform release @@ -53,7 +52,7 @@ 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 SDK. For more information, +download the platform into your SDK. For more information, see Adding SDK Components.
@@ -64,6 +63,64 @@ Components. href="http://developer.android.com/sdk/android-2.0-highlights.html">Android 2.0 Platform Highlights document for the latest user features. +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 2.1, Revision 1 (January 2010)
+ -
+
Built-in Applications
The system image included in the downloadable platform provides these diff --git a/docs/html/sdk/eclipse-adt.jd b/docs/html/sdk/eclipse-adt.jd index 1d99c91b2914d..d3e0a109971b1 100644 --- a/docs/html/sdk/eclipse-adt.jd +++ b/docs/html/sdk/eclipse-adt.jd @@ -1,4 +1,4 @@ -page.title=Installing and Updating ADT +page.title=ADT Plugin for Eclipse sdk.preview=0 @jd:body @@ -8,9 +8,12 @@ sdk.preview=0
In this document
-
-
Android offers a custom plugin for the Eclipse IDE, called Android -Development Tools (ADT), that is designed to give you a powerful, -integrated environment in which to build Android applications.
+Android Development Tools (ADT) is a plugin for the Eclipse IDE +that is designed to give you a powerful, integrated environment in which +to build Android applications.
ADT extends the capabilities of Eclipse to let you quickly set up new Android projects, create an application UI, add components based on the Android Framework API, debug your applications using the Android SDK tools, and even export signed (or unsigned) APKs in order to distribute your application.
-In general, using Eclipse with ADT is a highly recommended approach to -Android development and is the fastest way to get started. If you use Eclipse, -the ADT plugin gives you an incredible boost in developing Android -applications.
+Developing in Eclipse with ADT is highly recommended and is the fastest way +to get started. With the guided project setup it provides, as well as tools +integration, custom XML editors, and debug ouput pane, ADT gives you an +incredible boost in developing Android applications.
-To install and update the ADT Plugin, you can take advantage of the Eclipse -remote update feature. By setting up a remote update site, you can easily -download, install, and check for ADT updates. Alternatively, you can download -the latest ADT to your development computer as a local site archive. The -sections below provide instructions for both methods.
+This document provides step-by-step instructions on how to download the ADT +plugin and install it into your Eclipse development environment. Note that +before you can install or use ADT, you must have compatible versions of both the +Eclipse IDE and the Android SDK installed. For details, make sure to read Installing the ADT Plugin, below.
+If you are already using ADT, this document also provides instructions on +how to update ADT to the latest version or how to uninstall it, if necessary. +
-Prepare for Installation
+Revisions
-Before you begin, take a moment to confirm that your development machine -meets the System Requirements.
+The sections below provide notes about successive releases of +the ADT Plugin, as denoted by revision number.
-If you will be developing in Eclipse with the Android Development -Tools (ADT) Plugin — the recommended path if you are new to -Android — make sure that you have a suitable version of Eclipse -installed on your computer (3.4 or newer is recommended). If you need -to install Eclipse, you can download it from this location:
+ + + +
+ADT 0.9.6 (March 2010)
+ -
+
+ADT 0.9.5 (December 2009)
+ -
+
+ADT 0.9.4 (October 2009)
+ -
+
Installing the ADT Plugin
+ +The sections below provide instructions on how to download and install +ADT into your Eclipse environment. If you encounter problems, see the Troubleshooting section.
+ +Preparing Your Development Computer
+ +ADT is a plugin for the Eclipse IDE. Before you can install or use ADT, +you must have a compatible version of Eclipse installed on your development +computer.
+ +-
+
Installing the ADT Plugin
+Additionally, before you can configure or use ADT, you must install the +Android SDK starter package, as described in Downloading the SDK Starter Pacskage. +Specifically, you need to install a compatible version of the Android SDK Tools +and at least one development platform. To simplify ADT setup, we recommend +installing the Android SDK prior to installing ADT.
-Once you have the Eclipse IDE installed, as described in Preparing for Installation, above, follow these steps to -download the ADT plugin and install it in your respective Eclipse environment. -
+When your Eclipse and Android SDK environments are ready, continue with the +ADT installation as described in the steps below.
+ +Downloading the ADT Plugin
+ +Use Update Manager feature of your Eclipse installation to install the latest +revision of ADT on your development computer.
+ +
Assuming that you have a compatible version of the Eclipse IDE installed, as +described in Preparing for Installation, above, follow +these steps to download the ADT plugin and install it in your Eclipse +environment.
| Eclipse 3.4 (Ganymede) | Eclipse 3.5 (Galileo) |
|---|
Now modify your Eclipse preferences to point to the Android SDK directory:
+Configuring the ADT Plugin
+ +Once you've successfully downnloaded ADT as described above, the next step +is to modify your ADT preferences in Eclipse to point to the Android SDK directory:
+Done! If you haven't encountered any problems, then you're ready to -begin developing Android applications.
+Done! If you haven't encountered any problems, then the installation is +complete. Now read Adding Platforms and +Other Components for instructions on how to complete the setup of your +SDK environment.
Troubleshooting ADT Installation
@@ -179,7 +404,7 @@ manually install it: -Updating Your Eclipse ADT Plugin
+Updating the ADT Plugin
-From time to time, a new version of the ADT Plugin becomes available. Follow -the steps below to check whether an update is available and, if so, to install it. -For -information about new features in ADT, see the ADT Plugin Notes document.
+From time to time, a new revision of the ADT Plugin becomes available, with +new features and bug fixes. Generally, when a new revision of ADT is available, +you should update to it as soon as convenient.
+ +In some cases, a new revision of ADT will have a dependency on a specific +revision of the Android SDK Tools. If such dependencies exist, you will need to +update the SDK Tools component of the SDK after installing the new revision of +ADT. To update the SDK Tools component, use the Android SDK and AVD Manager, as +described in Adding SDK Components.
+ +To learn about new features of each ADT revision and also any dependencies on +the SDK Tools, see the listings in the Revisions +section. To determine the version currently installed, open the +Eclipse Installed Software window using Help +> Software Updates and refer to the version listed for +"Android Development Tools".
+ +Follow the steps below to check whether an update is available and, if so, +to install it.
| Eclipse 3.4 (Ganymede) | Eclipse 3.5 (Galileo) | |||
|---|---|---|---|---|
| Environment | +SDK Component | +Comments | +
|---|---|---|
| Basic | +SDK Tools | +If you've installed +the SDK starter package, then you already have this component preinstalled. The +SDK Tools component is required — you can't develop or build an application +without it. | +
| SDK platform | +You need to download at least one platform into your environment, so that +you will be able to compile your application and set up an Android Virtual +Device (AVD) to run it on (in the emulator). To start with, just download the +latest version of the platform. Later, if you plan to publish your application, +you will want to download other platforms as well, so that you can test your +application on the full range of Android platform versions that your customers +are using. | +|
| + | +||
| Recommended | +Documentation | +The Documentation component is useful because it lets you work offline and +also look up API reference information from inside Eclipse. | +
| Samples | +The Samples components give you source code that you can use to learn about +Android, load as a project and run, or reuse in your own app. Note that multiple +samples components are available — one for each Android platform version. When +you are choosing a samples component to download, select the one whose API Level +matches the API Level of the Android platform that you plan to use. | +|
| Usb Driver | +The Usb Driver component is needed only if you are developing on Windows and +have an Android-powered device on which you want to install your application for +debugging and testing. For Mac OS X and Linux platforms, no +special driver is needed. | +|
| + | +||
| Full | +Google APIs | +The Google APIs add-on gives your application access to the Maps external +library, which makes it easy to display and manipulate Maps data in your +application. | +
| Additional SDK Platforms | +If you plan to publish your application, you will want to download +additional platforms corresponding to the Android platform versions on which you +want the application to run. The recommended approach is to compile your +application against the lowest version you want to support, but test it against higher versions that you intend the application to run on. You can test your -applications on different platforms by running in an -Android Virtual Device (AVD) on the Android emulator. +applications on different platforms by running in an Android Virtual Device +(AVD) on the Android emulator. | +|
For step-by-step instructions on how to use the Android SDK and AVD Manager to add components, see the Adding SDK Components document.
-For release notes and other detailed information about individual SDK +
For revision notes and other detailed information about individual SDK components, see the documents listed under "Downloadable SDK Components" in the navigation at left.
-Explore the SDK
+Step 5. Exploring the SDK
Once you've installed the SDK and downloaded the platforms, documentation, and add-ons that you need, open the SDK directory and take a look at what's @@ -236,7 +362,7 @@ applications against, each in a separate directory.
<platform>/samples/skins/samples/tools/android tool, adb, ddms, and more.SDK Setup.exeSDK Tools is a downloadable component for the Android SDK. It -includes the complete set of development and debugging tools for the Android -SDK.
+SDK Tools is a downloadable component for the Android SDK. It includes the +complete set of development and debugging tools for the Android SDK.
-This document provides version-specific information about SDK Tools -releases. To keep up-to-date on new releases, make sure that you view this page -at http://developer. -android.com/sdk/tools-notes.html.
+If you are new to the Android SDK, the SDK starter package installs the
+latest revision of the SDK Tools in the <sdk>/tools directory.
To install SDK Tools in your SDK environment (and replace the -existing tools), use the Android SDK and AVD Manager. For more information, see -Adding SDK Components.
+If you are already using the SDK Tools, you should update to the latest revision by +using the Android SDK and AVD Manager (rather than by downloading a new SDK package). +For more information about how to update, see Adding SDK Components.
-SDK Tools, Revision 4
+Revisions
-December 2009. SDK Tools r4 provides several new features for developers and includes -fixes for several issues, as described below.
+The sections below provide notes about successive releases of +the SDK Tools, as denoted by revision number. To determine what revision of the SDK +Tools you are using, refer to the "Installed Packages" listing in the Android SDK +and AVD Manager.
-Dependencies
+ + +
+SDK Tools, Revision 5 (March 2010)
+ SDK Tools r4 is compatible with ADT 0.9.5 and later, but not +
-
+
+SDK Tools, Revision 4 (December 2009)
+ -
+
General notes
+Android SDK and AVD Manager
+Emulator
+Ant build tools
+
+SDK Tools, Revision 3 (October 2009)
+ SDK Tools, Revision 3
- -October 2009. SDK Tools r3 provides several new features for developers and includes -fixes for several tools issues, as described below.
- -Dependencies
- -SDK Tools r3 is compatible with ADT 0.9.4 and later, but not +
-
+
Android tool
+DDMS
+Android SDK and AVD Manager
+Layoutopt, a new tool for optimizing layouts
+The SDK Tools r3 package includes layoutopt, a new command-line
+
In this document
See also
@@ -34,18 +34,86 @@ USB driver. Refer to Setting up a Device to start development with a device. -Revision Notes
+Revisions
-Revision 3
-Adds support for the Nexus One. Released January 2010.
+The sections below provide notes about successive revisions of the USB Driver +for Windows, as denoted by revision number. To determine what revision of the +USB Driver for Windows you are using, refer to the "Installed Packages" listing +in the Android SDK and AVD Manager.
-Revision 2
-Adds support for the Verizon Droid (or similar hardware on -other carriers). Released November 2009.
+ + -Revision 1
-This was the initial release of the WinUsb-based driver, with support -for the T-Mobile G1 and myTouch 3G (and similar devices).
+
+USB Driver for Windows, Revision 3 (January 2010)
+ -
+
+USB Driver for Windows, Revision 2 (November 2009)
+ -
+
+USB Driver for Windows, Revision 1 (October 2009)
+ -
+
Installing the USB Driver for Windows
@@ -66,21 +134,37 @@ the hardware manufacturer.Before you perform the installation below, you must have the USB -driver saved to your development computer. To get the USB driver, use -the AVD and SDK Manager included with the SDK Tools to download the USB driver -as an SDK component. For more information, read Adding SDK Components.
-Once you have the USB driver saved to your computer, select the -appropriate procedure below, based on your operating system and whether you're -installing for the first time or upgrading.
+The sections below provide instructions on how to download the USB Driver +for Windows and install it on your development computer.
-If you are connecting an Android-powered -device to your computer for the first time, follow the below procedure to -"Perform a fresh installation." If you have installed one of the older -USB drivers and would like to upgrade to the latest version, follow the -procedure to "Upgrade an existing driver."
+Downloading the USB Driver for Windows
+ +The USB Driver for Windows is available for download as an optional SDK +component. You need the driver only if you are developing on Windows and +want to connect an Android-powered device to your development environment +over USB.
+ +To install the driver or upgrade your existing driver to the latest +revision, you must first download the driver to your development computer.
+ +To download the driver, use the Android SDK and AVD Manager tool that is +included with the Android SDK. If you haven't yet installed the Android SDK, as +described in Installing the Android SDK, please do +so before continuing with the driver installation.
+ +When you are ready to download the driver, follow the instructions given in
+Adding SDK Components to launch the Android
+SDK and AVD Manager. From the Available Packages panel, select
+"Usb Driver Package" and download it to your computer. The driver files are
+downloaded into the <sdk>\usb_driver directory.
After the download, follow the instructions below to install or upgrade the +driver, based on your needs and Windows operating system version. If you are +connecting an Android-powered device to your computer for the first time, follow +the below procedure to "Perform a fresh installation." If you have installed one +of the older USB drivers and would like to upgrade to the latest version, follow +the procedure to "Upgrade an existing driver."
Once you've completed the USB driver installation, please see
+