From 0d1b0814be24f501395bf175fba8691117f782d5 Mon Sep 17 00:00:00 2001 From: Dirk Dougherty Date: Wed, 7 Apr 2010 17:05:16 -0700 Subject: Doc change: updates for new tools, platform, adt versions. Misc other fixes updates in doc files. Change-Id: I7abf541316f2796079cf646a3294db535fcaaa8a --- docs/html/resources/samples/get.jd | 6 +++--- docs/html/resources/samples/index.jd | 2 +- docs/html/resources/tutorials/hello-world.jd | 10 ++++++---- docs/html/resources/tutorials/testing/activity_test.jd | 4 ++-- 4 files changed, 12 insertions(+), 10 deletions(-) (limited to 'docs/html/resources') diff --git a/docs/html/resources/samples/get.jd b/docs/html/resources/samples/get.jd index 898bc49..1b6d137 100644 --- a/docs/html/resources/samples/get.jd +++ b/docs/html/resources/samples/get.jd @@ -40,7 +40,7 @@ SDK Components document.

computer in this location:

-<sdk>/samples/<platform-version>/ +<sdk>/samples/android-<level>/

You can easily create new Android projects with the downloaded samples, modify them @@ -49,7 +49,7 @@ 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 +the <sdk>/samples/android-<level>/ApiDemos directory (the samples directory for the platform version you are using).

@@ -57,7 +57,7 @@ using).

sample using the android tool, by executing this command:

-android update project -s -n API Demos -t <target_ID> -p <path>samples/<platforms>/ApiDemos/
+android update project -s -n API Demos -t <target_ID> -p <path>samples/android-<level>/ApiDemos/
 

Browsing the Sample Code

diff --git a/docs/html/resources/samples/index.jd b/docs/html/resources/samples/index.jd index 4019200..9fc8e0b 100644 --- a/docs/html/resources/samples/index.jd +++ b/docs/html/resources/samples/index.jd @@ -23,7 +23,7 @@ href="{@docRoot}resources/samples/get.html">Getting the Samples.

framework topics.
Backup and Restore
-
An simple example that illustrates a few different ways for an application to +
A simple example that illustrates a few different ways for an application to implement support for the Android data backup and restore mechanism.
Bluetooth Chat
diff --git a/docs/html/resources/tutorials/hello-world.jd b/docs/html/resources/tutorials/hello-world.jd index 1079fb5..7bad054 100644 --- a/docs/html/resources/tutorials/hello-world.jd +++ b/docs/html/resources/tutorials/hello-world.jd @@ -260,14 +260,16 @@ to see it running.

-

The Eclipse ADT will automatically create a new run configuration for your project -and the Android Emulator will automatically launch. Once the emulator is booted up, -your application will appear after a moment. You should now see something like this:

+

The Eclipse plugin automatically creates a new run configuration for your project +and then launches the Android Emulator. Depending on your environment, the Android +emulator might take several minutes to boot fully, so please be patient. When the +emulator is booted, the Eclipse plugin installs your application +and launches the default Activity. You should now see something like this:

diff --git a/docs/html/resources/tutorials/testing/activity_test.jd b/docs/html/resources/tutorials/testing/activity_test.jd index ae4b6f3..87dd183 100644 --- a/docs/html/resources/tutorials/testing/activity_test.jd +++ b/docs/html/resources/tutorials/testing/activity_test.jd @@ -1208,8 +1208,8 @@ import android.widget.SpinnerAdapter; Close Eclipse with ADT.
  • - Copy the file <SDK_path>/samples/android-8/SpinnerTest/src/com/android/examples/spinner/test/SpinnerActivityTest.java - to the directory workspace/SpinnerActivityTest/src/com/android/examples/spinner/test/. + Copy the file <SDK_path>/samples/android-8/SpinnerTest/src/com/android/example/spinner/test/SpinnerActivityTest.java + to the directory workspace/SpinnerActivityTest/src/com/android/example/spinner/test/.
  • Restart Eclipse with ADT. -- cgit v1.1