AI 147308: am: CL 147306 re-write the Developing in Other IDEs doc with updated information for 1.5
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 147308
diff --git a/docs/html/guide/developing/other-ide.jd b/docs/html/guide/developing/other-ide.jd
index 7bcb509..5db4f8d 100644
--- a/docs/html/guide/developing/other-ide.jd
+++ b/docs/html/guide/developing/other-ide.jd
@@ -1,167 +1,408 @@
-page.title=In Other IDEs
+page.title=Developing In Other IDEs
 @jd:body
 
+<div id="qv-wrapper">
+<div id="qv">
+  <h2>In this document</h2>
+  <ol>
+    <li><a href="#CreatingAProject">Creating an Android Project</a></li>
+    <li><a href="#Signing">Preparing to Sign Your Application</a></li>
+    <li><a href="#Building">Building Your Application</a>
+      <ol>
+        <li><a href="#DebugMode">Building in debug mode</a></li>
+        <li><a href="#ReleaseMode">Building in release mode</a></li>
+      </ol>
+    </li>
+    <li><a href="#Running">Running Your Application</a></li>
+    <li><a href="#AttachingADebugger">Attaching a Debugger to Your Application</a></li>
+  </ol>
+
+  <h2>See also</h2>
+  <ol>
+    <li><a href="{@docRoot}guide/developing/tools/android.html">android Tool</a></li>
+    <li><a href="{@docRoot}guide/developing/tools/emulator.html">Android Emulator</a></li>
+    <li><a href="{@docRoot}guide/developing/tools/adb.html">Android Debug Bridge</a></li>
+  </ol>
+</div>
+</div>
+
 <p>The recommended way to develop an Android application is to use 
-        <a href="{@docRoot}guide/developing/eclipse-adt.html">Eclipse with the Android
-        Development Tools (ADT) plugin</a>, provided in the SDK. The ADT plugin 
-        provides editing, building,and debugging functionality integrated right into the IDE. </p>
+<a href="{@docRoot}guide/developing/eclipse-adt.html">Eclipse with the ADT plugin</a>.
+The ADT plugin provides editing, building, debugging, and .apk packaging and signing functionality 
+integrated right into the IDE.</p>
 
-<p>However, if you'd rather develop your application in another IDE, such as IntelliJ, 
-        or use Eclipse without the ADT plugin, you can do that instead. The SDK
-	provides the tools you need to set up, build, and debug your application. 
- </p>
+<p>However, if you'd rather develop your application in another IDE, such as IntelliJ,
+or in a basic editor, such as Emacs, you can do that instead. The SDK
+includes all the tools you need to set up an Android project, build it, debug it and then
+package it for distribution. This document is your guide to using these tools.</p>
 
 
-<h2>Creating an Android Project </h2>
+<h2 id="EssentialTools">Essential Tools</h2>
 
-<p>The Android SDK includes <code>activityCreator</code>, a program that generates a number of stub files for your project, as well as a build file. You can use the program to create an Android project for new code or from existing code, such as the sample applications included in the SDK. For Linux and Mac, the SDK provides <code>activitycreator</code> and for Windows, <code>activityCreator.bat</code>, a batch script. Regardless of platform, you can use <code>activitycreator</code> in the same way. </p>
+<p>When developing in IDEs or editors other than Eclipse, you'll require
+familiarity with the following Android SDK tools:</p>
 
-<p>To run <code>activityCreator</code> and create an Android project, follow these steps:</p>
+<dl>
+  <dt><a href="{@docRoot}guide/developing/tools/android.html">android</a></dt>
+    <dd>To create/update Android projects and to create/move/delete AVDs.</dd>
+  <dt><a href="{@docRoot}guide/developing/tools/emulator.html">Android Emulator</a></dt>
+    <dd>To run your Android applications on an emulated Android platform.</dd>
+  <dt><a href="{@docRoot}guide/developing/tools/adb.html">Android Debug Bridge</a></dt>
+    <dd>To interface with your emulator or connected device (install apps,
+    shell the device, issue commands, etc.).
+    </dd>
+</dl>
 
-<ol>
-    <li> In the command line, change to the <code>tools/</code> directory of the SDK and create a new directory for your project files. If you are creating a project from existing code, change to the root folder of your application instead. </li>
+<p>In addition to the above tools, included with the SDK, you'll use the following
+open source and third-party tools:</p>
 
-    <li><p>Run <code>activityCreator</code>. In the command, you must specify a fully-qualified class name as an argument. If you are creating a project for new code, the class represents the name of a stub class that the script will create. If you are creating a project from existing code, you must specify the name of one Activity class in the package. Command options for the script include:
-<ul>
-	<li><code>--out &lt;folder&gt;</code> which sets the output directory. By default, the output directory is the current directory. If you created a new directory for your project files, use this option to point to it. </li>
-	<li><code>--ide intellij</code>, which generates IntelliJ IDEA project files in the newly created project</li>
-</ul>
-</li>
-</ol>
+<dl>
+  <dt>Ant</dt>
+    <dd>To compile and build your Android project into an installable .apk file.</dd>
+  <dt>Keytool</dt>
+    <dd>To generate a keystore and private key, used to sign your .apk file.</dd>
+  <dt>Jarsigner (or similar signing tool)</dt>
+    <dd>To sign your .apk file with a private key generated by keytool.</dd>
+</dl>
 
-<p>Here's an example:</p>	
+<p>In the topics that follow, you'll be introduced to each of these tools as necessary.
+For more advanced operations, please read the respective documentation for each tool.</p>
+
+
+<h2 id="CreatingAProject">Creating an Android Project</h2>
+
+<p>To create an Android project, you must use the <code>android</code> tool. When you create
+a new project with <code>android</code>, it will generate a project directory
+with some default application files, stub files, configuration files and a build file.</p>
+
+
+<h3 id="CreatingANewProject">Creating a new Project</h3>
+
+<p>If you're starting a new project, use the <code>android create project</code>
+command to generate all the necessary files and folders.</p>
+
+<p>To create a new Android project, open a command-line,
+navigate to the <code>tools/</code> directory of your SDK and run:</p>
 <pre>
-~/android_linux_sdk/tools $ ./activityCreator.py --out myproject your.package.name.ActivityName
-package: your.package.name
-out_dir: myproject
-activity_name: ActivityName
-~/android_linux_sdk/tools $ </pre>
-
-<p>The <code>activityCreator</code> script generates the following files and directories (but will not overwrite existing ones):</p>
+android create project \
+--target <em>&lt;targetID&gt;</em> \
+--path <em>/path/to/your/project</em> \
+--activity <em>&lt;your_activity_name&gt;</em> \
+--package <em>&lt;your_package_namespace&gt;</em>
+</pre>
 
 <ul>
-    <li><code>AndroidManifest.xml</code> The application manifest file, synced to the specified Activity class for the project.</li>
-    <li><code>build.xml</code> An <code>Ant</code> file that you can use to build/package the application.</li>
-    <li><code>src<em>/your/package/name/ActivityName</em>.java</code>&nbsp;The Activity class you specified on input.</li>
-    <li><code><em>your_activity</em>.iml, <em>your_activity</em>.ipr, 
-        <em>your_activity</em>.iws&nbsp;&nbsp;&nbsp;</code> [<em>only
-            with the <code>-ide intelliJ</code> flag</em>] intelliJ project
-            files. </li>
-    <li><code>res/</code> &nbsp;&nbsp;A directory to hold resources. </li>
-    <li><code>src/</code> &nbsp;&nbsp;&nbsp;The source directory.
-    <li><code>bin/</code> &nbsp;&nbsp;&nbsp;The output directory for the build script.</li>
+  <li><code>target</code> is the "build target" for your application. It corresponds
+  to an Android platform library (including any add-ons, such as Google APIs) that you would like to
+  build your project against. To see a list of available targets and their corresponding IDs, 
+  execute: <code>android list targets</code>.</li>
+  <li><code>path</code> is the location of your project directory. If the directory does not exist,
+  it will be created for you.</li>
+  <li><code>activity</code> is the name for your {@link android.app.Activity} class. This class file
+  will be created for you inside 
+  <code><em>&lt;path_to_your_project&gt;</em>/src/<em>&lt;your_package_namespace_path&gt;</em>/</code>.</li>
+  <li><code>package</code> is the package namespace for your project, following the same rules as for
+  packages in the Java programming language.</li>
 </ul>
 
-<p>You can now move your folder wherever you want for development, but keep in mind
-    that you'll have to use the <a href="{@docRoot}guide/developing/tools/adb.html">adb</a> program in the <code>tools/</code> folder to
-    send files to the emulator, so you'll need access between your solution and 
-    the <code>tools/</code> folder. </p>
+<p>Here's an example:</p>
+<pre>
+android create project \
+--target 1 \
+--path ./myProject \
+--activity MyActivity \
+--package com.example.myproject
+</pre>
 
-<p>Also, you should refrain from moving the
-    location of the SDK directory, since this will break the build scripts (they
-    will need to be manually updated to reflect the new SDK location before they will
-    work again).</p>
-<a name="buidingwithant"></a>
-<h2 id="antbuild">Building the Application with Ant</h2>
-<p>Use the Ant <code>build.xml</code> file generated by 
-   <code>activityCreator</code> to build your application.</p>
-<ol>
-  <li>If you don't have it, you can obtain Ant from the 
-    <a href="http://ant.apache.org/">Apache Ant home page</a>. Install it and make
-    sure it is on your executable path. </li>
-	<li>Before calling Ant, you need to declare the JAVA_HOME environment variable to specify the path to where the JDK is installed.
-        <p class="note"><strong>Note:</strong> When installing JDK on Windows, the default is to install in the "Program Files" directory. This location will cause <code>ant</code> to fail, because of the space. To fix the problem, you can specify the JAVA_HOME variable like this: <code>set JAVA_HOME=c:\Prora~1\Java\<jdkdir></code>. The easiest solution, however, is to install JDK in a non-space directory, for example: <code>c:\java\jdk1.6.0_02</code>. </p>
-        </li>
-	
+<p>The tool generates the following files and directories:</p>
 
-  <li>If you have not done so already, follow the instructions for Creating a 
-  New Project above to set up the project.</li>
-  <li>You can now run the Ant build file by simply typing ant in the same folder
-  as the build.xml file for your project. Each time you change
-  a source file or resource, you should run ant again and it will package up the
-  latest version of the application for you to deploy.</li>
-</ol>
+<ul>
+  <li><code>AndroidManifest.xml</code> - The application manifest file, 
+  synced to the specified Activity class for the project.</li>
+  <li><code>build.xml</code> - Build file for Ant.</li>
+  <li><code>default.properties</code> - Properties for the build system. <em>Do not modify 
+  this file</em>.</li>
+  <li><code>build.properties</code> - Customizable properties for the build system. You can edit this 
+  file to overried default build settings used by Ant.</li>
+  <li><code>src<em>/your/package/namespace/ActivityName</em>.java</code> - The Activity class 
+  you specified during project creation.</li>
+  <li><code>bin/</code>  - Output directory for the build script.</li>
+  <li><code>gen/</code>  - Holds <code>Ant</code>-generated files, such as <code>R.java</code>. </li>
+  <li><code>libs/</code>  - Holds private libraries.</li>
+  <li><code>res/</code>  - Holds project resources.</li>
+  <li><code>src/</code>  - Holds source code.</li>
+  <li><code>tests/</code>  - Holds a duplicate of all-of-the-above, for testing purposes.</li>
+</ul>
 
-<h2 id="sign_in_other">Setting Up Application Signing</h2>
+<p>Once you've created your project, you're ready to begin development.
+You can move your project folder wherever you want for development, but keep in mind
+that you must use the <a href="{@docRoot}guide/developing/tools/adb.html">Android Debug Bridge</a> 
+(adb) &mdash; located in the SDK <code>tools/</code> directory &mdash; to send your application 
+to the emulator (discussed later). So you need access between your project solution and 
+the <code>tools/</code> folder.</p>
 
-<p>As you begin developing Android applications, you should understand that all
+<p class="warning"><strong>Note:</strong> You should refrain from moving the
+location of the SDK directory, because this will break the build scripts. (They
+will need to be manually updated to reflect the new SDK location before they will
+work again.)</p>
+
+
+<h3 id="UpdatingAProject">Updating a project</h3>
+
+<p>If you're upgrading a project from an older version of the Android SDK or want to create
+a new project from existing code, use the
+<code>android update project</code> command to update the project to the new development
+environment. You can also use this command to revise the build target of an existing project
+(with the <code>--target</code> option). The <code>android</code> tool will generate any files and 
+folders (listed in the previous section) that are either missing or need to be updated, 
+as needed for the Android project.</p>
+
+<p>To update an existing Android project, open a command-line
+and navigate to the <code>tools/</code> directory of your SDK. Now run:</p>
+<pre>
+android update project --target <em>&lt;targetID&gt;</em> --path <em>path/to/your/project/</em>
+</pre>
+
+<ul>
+  <li><code>target</code> is the "build target" for your application. It corresponds to 
+  an Android platform library (including any add-ons, such as Google APIs) that you would 
+  like to build your project against. To see a list of available targets and their corresponding IDs, 
+  execute: <code>android list targets</code>.</li>
+  <li><code>path</code> is the location of your project directory.</li>
+</ul>
+
+<p>Here's an example:</p>
+<pre>
+android update project --target 2 --path ./myProject
+</pre>
+
+
+<h2 id="Signing">Preparing to Sign Your Application</h2>
+
+<p>As you begin developing Android applications, understand that all
 Android applications must be digitally signed before the system will install
-them on the emulator or an actual device. </p>
+them on an emulator or device. There are two ways to do this:
+with a <em>debug key</em> (for immediate testing on an emulator or development device)
+or with a <em>private key</em> (for application distribution).</p>
 
-<p>The Android build tools help you get started quickly by signing your .apk
-files with a debug key, prior to installing them on the emulator. This means
+<p>The Android build tools help you get started by automatically signing your .apk
+files with a debug key at build time. This means
 that you can compile your application and install it on the emulator without
 having to generate your own private key. However, please note that if you intend
-to publish your application, you <em>must</em> sign the application with your
+to publish your application, you <strong>must</strong> sign the application with your
 own private key, rather than the debug key generated by the SDK tools. </p>
 
-<p>To sign your applications, the ADT plugin requires the Keytool utility
-included in the JDK. To set up your development environment for
-signing, all you need to do is make sure that Keytool is available on your
-machine that the build tools know how to find it. </p>
-
-<p>In most cases, you can tell the SDK build tools how to find Keytool by making
-sure that 
-your JAVA_HOME environment variable is set and that it references a suitable
-JDK. Alternatively, 
-you can add the JDK version of Keytool to your PATH variable.</p>
-
-<p>If you are developing on a version of Linux that originally came with Gnu
-Compiler for Java, 
-make sure that the system is using the JDK version of Keytool, rather than the
-gcj version. 
-If keytool is already in your PATH, it might be pointing to a symlink at
-/usr/bin/keytool. 
-In this case, check the symlink target to make sure that it points to the
-keytool in the JDK.</p>
-
-<p>In all cases, please read and understand <a
-href="{@docRoot}guide/publishing/app-signing.html">Signing Your
-Applications</a>, which provides an overview of application signing on Android
-and what it means to you as an Android application developer. </p>
+<p>Please read <a href="{@docRoot}guide/publishing/app-signing.html">Signing Your
+Applications</a>, which provides a thorough guide to application signing on Android
+and what it means to you as an Android application developer.</p>
 
 
-<h2>Running an Android Application</h2>
-<p>To run a compiled
-    application, you will upload the .apk file to the <code>/data/app/ </code>directory
-    in the emulator using the <a href="{@docRoot}guide/developing/tools/adb.html">adb</a> tool as described here:</p>
+
+<h2 id="Building">Building Your Application</h2>
+
+<p>There are two ways to build your application: one for testing/debugging your application
+&mdash; <em>debug mode</em> &mdash; and one for building your final package for release &mdash; 
+<em>release mode</em>. As described in the previous
+section, your application must be signed before it can be installed on an emulator
+or device.</p>
+
+<p>Whether you're building in debug mode or release mode, you
+need to use the Ant tool to compile and build your project. This will create the .apk file
+that is installed onto the emulator or device. When you build in debug mode, the .apk
+file is automatically signed by the SDK tools with a debug key, so it's instantly ready for installation
+(but only onto an emulator or attached development device).
+When you build in release mode, the .apk file is <em>unsigned</em>, so you must manually
+sign it with your own private key, using Keytool and Jarsigner.</p>
+
+<p>It's important that you read and understand 
+<a href="{@docRoot}guide/publishing/app-signing.html">Signing Your Applications</a>, particularly
+once you're ready to release your application and share it with end-users. That document describes
+the procedure for generating a private key and then using it to sign your .apk file.
+If you're just getting started, however, 
+you can quickly run your applications on an emulator or your own development device by building in
+debug mode.</p>
+
+<p>If you don't have Ant, you can obtain it from the 
+<a href="http://ant.apache.org/">Apache Ant home page</a>. Install it and make
+sure it is in your executable PATH. Before calling Ant, you need to declare the JAVA_HOME 
+environment variable to specify the path to where the JDK is installed.</p>
+
+<p class="note"><strong>Note:</strong> When installing JDK on Windows, the default is to install 
+in the "Program Files" directory. This location will cause <code>ant</code> to fail, because of 
+the space. To fix the problem, you can specify the JAVA_HOME variable like this: 
+<code>set JAVA_HOME=c:\Prora~1\Java\<jdkdir></code>. The easiest solution, however, is to 
+install JDK in a non-space directory, for example: <code>c:\java\jdk1.6.0_02</code>.</p>
+
+
+<h3 id="DebugMode">Building in debug mode</h3>
+
+<p>For immediate application testing and debugging, you can build your application 
+in debug mode and immediately install it on an emulator. In debug mode, the build tools automatically
+sign your application with a debug key. However, you can (and should) also test your
+application in release mode. Debug mode simply allows you to run your application without
+manually signing the application.</p>
+
+<p>To build in debug mode:</p>
+
 <ol>
-    <li>Start the emulator (run <code><em>&lt;your_sdk_dir&gt;</em>/tools/emulator</code> from the command line)</li>
-    <li>On the emulator, navigate to the home screen (it is best not to have that
-        application running when you reinstall it on the emulator; press the <strong>Home</strong> key
-    to navigate away from that application).</li>
-    <li>Run <code>adb install <em>myproject</em>/bin/&lt;<em>appname</em>&gt;.apk</code> to upload
-        the executable. So, for example, to install the Lunar Lander sample, navigate
-        in the command line to <code><em>&lt;your_sdk_dir&gt;</em>/sample/LunarLander</code> and type <code>../../tools/adb&nbsp;install&nbsp;bin/LunarLander.apk</code></li>
-    <li>In the emulator, open the list of available applications, and scroll down to
-        select and start your application. </li>
+  <li>Open a command-line and navigate to the root of your project directory.</li>
+  <li>Use Ant to compile your project in debug mode:
+    <pre>ant debug</pre>
+    <p>This creates your Android application .apk file inside the project <code>bin/</code>
+    directory, named <code><em>&lt;your_DefaultActivity_name&gt;</em>-debug.apk</code>. The file
+    is already signed with the debug key.</p>
+  </li>
 </ol>
-<p class="note"><strong>Note:</strong> When you install an Activity for the
-        first time, you might have to restart the emulator before it shows up in the
-        application launcher, or other applications can call it. This is because
-        the package manager usually only examines manifests completely on emulator
-        startup.</p>
 
-<h2>Attaching a Debugger to Your Application</h2>
+<p>Each time you change a source file or resource, you must run Ant 
+again in order to package up the latest version of the application.</p>
+
+<p>To install and run your application on an emulator, see the following section
+about <a href="#Running">Running Your Application</a>.</p>
+
+
+<h3 id="ReleaseMode">Building in release mode</h3>
+
+<p>When you're ready to release and distribute your application to end-users, you must build
+your application in release mode. Once you have built in release mode, it's a good idea to perform 
+additional testing and debugging with the final .apk.</p>
+
+<p>To build in release mode:</p>
+
+<ol>
+  <li>Open a command-line and navigate to the root of your project directory.</li>
+  <li>Use Ant to compile your project in release mode:
+    <pre>ant release</pre>
+    <p>This creates your Android application .apk file inside the project <code>bin/</code>
+    directory, named <code><em>&lt;your_DefaultActivity_name&gt;</em>.apk</code>.</p>
+    <p class="note"><strong>Note:</strong> The .apk file is <em>unsigned</em> at this point.
+    You can't install it on an emulator or device until you sign it with your private key.</p>
+  </li>
+</ol>
+
+<p>Because release mode builds your application unsigned, your next step is to sign
+it with your private key, in order to distribute it to end-users. To complete this procedure, 
+read <a href="{@docRoot}guide/publishing/app-signing.html">Signing Your Applications</a>.</p>
+
+<p>Once you have signed your application with a private key, you can install it on an 
+emulator or device as discussed in the following section about 
+<a href="#Running">Running Your Application</a>.
+You can also try installing it onto a device from a web server.
+Simply upload the signed APK to a web site, then load the .apk URL in your Android web browser to 
+download the application and begin installation.
+(On your device, be sure you have enabled <em>Settings > Applications > Unknown sources</em>.)</p>
+
+
+<h2 id="Running">Running Your Application</h2>
+
+<p>Unless you'll be running your application on device hardware, 
+you need to launch an emulator upon which you will install your application.
+An instance of the Android emulator runs a specific Android platform with specific device configuration
+settings. The platform and configuration is defined with an Android Virtual Device (AVD). 
+So before you can launch your emulator, you must define an AVD.</p>
+
+<p>If you'll be running your application on device hardware, please read about
+<a href="{@docRoot}guide/developing/device.html">Developing On a Device</a> instead.</p>
+
+<ol>
+  <li><strong>Create an AVD</strong>
+    <ol>
+      <li>Open a command-line and navigate to your SDK package's 
+      <code>tools/</code> directory.</li>
+      <li>First, you need to select a "deployment target." To view available targets, execute:
+        <pre>android list targets</pre>
+        <p>This will output a list of available Android targets, such as:</p>
+<pre>
+id:1
+    Name: Android 1.1
+    Type: platform
+    API level: 2
+    Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
+id:2
+    Name: Android 1.5
+    Type: platform
+    API level: 3
+    Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
+</pre>
+        <p>Find the target that matches the Android platform upon which you'd like
+        to run your application. Note the integer value of the <code>id</code> &mdash;
+        you'll use this in the next step.</p>
+      </li>
+      <li>Create a new AVD using your selected deployment target:
+        <pre>android create avd --name <em>&lt;your_avd_name&gt;</em> --target <em>&lt;targetID&gt;</em></pre>
+      <li>Next, you'll be asked whether you'd like to create a custom hardware profile.
+      If you respond "yes," you'll be presented with a series of prompts to define various aspects of the
+      device hardware (leave entries blank to use default values, which are shown in brackets). Otherwise,
+      press return to use all default values ("no" is the default).</li>
+      </li>
+    </ol>
+  </li>
+
+  <li><strong>Launch an emulator</strong></li>
+    <p>From your SDK's <code>tools/</code> directory, launch an emulator 
+      using an existing AVD (created above):
+    <pre>emulator -avd <em>&lt;your_avd_name&gt;</em></pre>
+    <p>An instance of the emulator will now launch, running the target and configuration 
+      defined by your AVD.</p>
+  </li>
+  
+  <li><strong>Install your application</strong>
+    <p>From your SDK's <code>tools/</code> directory, install the .apk on the emulator:
+    <pre>adb install <em>/path/to/your/application</em>.apk</pre>
+    <p>If there is more than one emulator running, you must specify the emulator upon which to install
+    the application, by its serial number, with the <code>-s</code> option. For example:</p>
+    <pre>adb -s emulator-5554 install /my/project/path/myapp.apk</pre>
+  </li>
+  <li><strong>Open your application</strong>
+    <p>In the emulator, open the list of available applications to find 
+    and open your application.</p>
+  </li>
+</ol>
+
+<p>If you don't see your application on the emulator. Try restarting the emulator
+(with the same AVD). Sometimes when you install an Activity for the
+first time, it won't show up in the application launcher or be accessible by other 
+applications. This is because the package manager usually examines manifests 
+completely only on emulator startup.</p>
+
+<p class="note"><strong>Tip:</strong> If you have only one emulator running, 
+you can build your application and install it on the emulator in one simple step. 
+Navigate to the root of your project directory and use Ant to compile the project 
+with <em>install mode</em>:
+<code>ant install</code>. This will build your application, sign it with the debug key, 
+and install it on the currently running emulator.
+If there is more than one emulator currently running
+when using the <code>install</code> command, it will fail &mdash; it can't select between the 
+multiple emulators.</p>
+
+<p>For more information on the tools used above, please see the following documents:</p>
+<ul>
+  <li><a href="{@docRoot}guide/developing/tools/android.html">android Tool</a></li>
+  <li><a href="{@docRoot}guide/developing/tools/emulator.html">Android Emulator</a></li>
+  <li><a href="{@docRoot}guide/developing/tools/adb.html">Android Debug Bridge</a> (ADB)</li>
+</ul>
+
+
+<h2 id="AttachingADebugger">Attaching a Debugger to Your Application</h2>
+
 <p>This section describes how to display debug information on the screen (such
     as CPU usage), as well as how to hook up your IDE to debug running applications
     on the emulator. </p>
 
 <p>Attaching a debugger is automated using the Eclipse plugin,
     but you can configure other IDEs to listen on a debugging port to receive debugging
-    information.</p>
+    information:</p>
 <ol>
-    <li><strong>Start the <a href="{@docRoot}guide/developing/tools/ddms.html">Dalvik Debug Monitor Server (DDMS)
-                tool </a>, </strong> which
+    <li><strong>Start the <a href="{@docRoot}guide/developing/tools/ddms.html">Dalvik Debug Monitor 
+      Server (DDMS)</a> tool, </strong> which
         acts as a port forwarding service between your IDE and the emulator.</li>
     <li><strong>Set 
         optional debugging configurations on
-        your emulator</strong>, such as blocking application startup for an activity
+        your emulator</strong>, such as blocking application startup for an Activity
         until a debugger is attached. Note that many of these debugging options
         can be used without DDMS, such as displaying CPU usage or screen refresh
         rate on the emulator.</li>
-    <li><strong>Configure your IDE to attach to port 8700 for debugging.</strong> We
-        include information on <a href="{@docRoot}guide/developing/debug-tasks.html#ide-debug-port">
-        how to set up Eclipse to debug your project</a>. </li>
-
+    <li><strong>Configure your IDE to attach to port 8700 for debugging.</strong> Read
+        about <a href="{@docRoot}guide/developing/debug-tasks.html#ide-debug-port">
+        Configuring Your IDE to Attach to the Debugging Port</a>. </li>
 </ol>