From 2c9d7fe21a5e036b0be47fa39094ec2cb0d8df79 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Wed, 20 Jan 2010 14:11:56 -0800 Subject: docs: add guide to copying and installing the Dev Tools app from the emulator to a device. --- docs/html/guide/developing/debug-tasks.jd | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'docs') 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 below.

Debugging and Testing with Dev Tools

-

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.

+

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.

+ +

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: +

+
+adb -e pull /system/app/Development.apk ./Development.apk
+
+

This copies the .apk file into the current directory. Then install it on your connected device +with:

+
+adb -d install Development.apk
+
-

To get to the development settings page on the emulator, launch the Dev Tools application and +

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):

@@ -132,7 +144,7 @@ following options (among others):

can happen during debugging. -

These settings will be remembered across emulator restarts.

+

These settings will be remembered across emulator restarts.

Debugging Web Pages

-- cgit v1.1