From 0d1b0814be24f501395bf175fba8691117f782d5 Mon Sep 17 00:00:00 2001
From: Dirk Dougherty
-<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).
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/
To learn more about creating and editing run configurations in Eclipse, refer to - Developing In Eclipse, + Developing In Eclipse, with ADT.
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.
<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/.