diff options
author | Scott Main <smain@google.com> | 2010-01-20 17:10:25 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-01-20 17:10:25 -0800 |
commit | 2a79defa5a0481e4dd980938da13adc767e0b231 (patch) | |
tree | 89019436e4c54d2a5a1836dda1ba0681037f4526 /docs | |
parent | 48ef378d01b3ace349cbb6ba564276b854d872c9 (diff) | |
parent | 2c9d7fe21a5e036b0be47fa39094ec2cb0d8df79 (diff) | |
download | frameworks_base-2a79defa5a0481e4dd980938da13adc767e0b231.zip frameworks_base-2a79defa5a0481e4dd980938da13adc767e0b231.tar.gz frameworks_base-2a79defa5a0481e4dd980938da13adc767e0b231.tar.bz2 |
Merge "docs: add guide to copying and installing the Dev Tools app from the emulator to a device." into eclair
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/guide/developing/debug-tasks.jd | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/docs/html/guide/developing/debug-tasks.jd b/docs/html/guide/developing/debug-tasks.jd index 975f699..a980efc 100644 --- a/docs/html/guide/developing/debug-tasks.jd +++ b/docs/html/guide/developing/debug-tasks.jd @@ -80,13 +80,25 @@ href="#additionaldebugging">Debugging and Testing with Dev Tools</a> below.</dd> <h2 id="additionaldebugging">Debugging and Testing with Dev Tools</h2> -<p>With the Dev Tools application, you can turn on a number of settings that will -make it easier to test and debug your applications. The Dev Tools application is automatically -installed on all system images included with the SDK. The source code for the Dev Tools application -is also provided in the SDK samples so that you may build it and then install the application on any -development device.</p> +<p>With the Dev Tools application, you can enable a number of settings on your device that will +make it easier to test and debug your applications.</p> + +<p>The Dev Tools application is installed by default +on all system images included with the SDK, so you can use it with the Android Emulator. If you'd +like to install the Dev Tools application on a real development device, you can copy the +application from your emulator and then install it on your device using ADB. To copy the +application from a running emulator, execute: +</p> +<pre> +adb -e pull /system/app/Development.apk ./Development.apk +</pre> +<p>This copies the .apk file into the current directory. Then install it on your connected device +with:</p> +<pre> +adb -d install Development.apk +</pre> -<p>To get to the development settings page on the emulator, launch the Dev Tools application and +<p>To get started, launch the Dev Tools application and select Development Settings. This will open the Development Settings page with the following options (among others):</p> @@ -132,7 +144,7 @@ following options (among others):</p> can happen during debugging.</dd> </dl> -<p>These settings will be remembered across emulator restarts. </p> +<p>These settings will be remembered across emulator restarts.</p> <h2 id="DebuggingWebPages">Debugging Web Pages</h2> |