From 0eb0c9944c386b8cda2c51be141836e7e067d45c Mon Sep 17 00:00:00 2001
From: Luan Nguyen
Date: Wed, 26 Nov 2014 15:08:03 -0800
Subject: docs: Update getting started creating Wearable apps with proper
prereqs and instructions.
Bug:17392020
Change-Id: I668cd0766a216786b019425474b0bb36c6e12443
---
docs/html/training/wearables/apps/creating.jd | 50 +++++++++++++++++----------
1 file changed, 32 insertions(+), 18 deletions(-)
(limited to 'docs/html')
diff --git a/docs/html/training/wearables/apps/creating.jd b/docs/html/training/wearables/apps/creating.jd
index 018d9f7..683dd31 100644
--- a/docs/html/training/wearables/apps/creating.jd
+++ b/docs/html/training/wearables/apps/creating.jd
@@ -6,6 +6,7 @@ page.title=Creating and Running a Wearable App
@@ -34,6 +35,24 @@ sending the results to the wearable.
both your wearable and handheld apps.
+Update Your SDK
+
+Before you begin building wearable apps, you must:
+
+
+ - Update your SDK tools to version 23.0.0 or higher
+
+ The updated SDK tools enable you to build and test wearable apps.
+
+ - Update your SDK with Android 4.4W.2 (API 20) or higher
+
+ The updated platform version provides new APIs for wearable apps.
+
+
+
+To update your SDK with these components, see
+ Get the latest SDK tools.
+
Set Up an Android Wear Emulator or Device
We recommend that you develop on real hardware so you can better
@@ -45,29 +64,24 @@ types of screen shapes, which is useful for testing.
To set up an Android Wear virtual device:
- Click Tools > Android > AVD Manager.
- - Click Create....
- - Fill in the following details for the AVD you want to specify and leave the rest
- of the fields with their default values:
-
- - AVD Name - A name for your AVD
- - Device - Android Wear Round or Square device types
- - Target - Android 4.4W - API Level 20
- - CPU/ABI - Android Wear ARM (armeabi-v7a)
- - Keyboard - Select Hardware keyboard present
- - Skin - AndroidWearRound or AndroidWearSquare depending on the selected device type
- - Snapshot - Not selected
- - Use Host GPU - Selected, to support custom activities for wearable notifications
-
-
- - Click OK.
+ - Click Create Virtual Device....
+
+ - Click Wear in the Category list:
+ - Select Android Wear Square or Android Wear Round.
+ - Click Next.
+ - Select a release name (for example, KitKat Wear).
+ - Click Next.
+ - (Optional) Change any preferences for your virtual device.
+ - Click Finish.
+
- Start the emulator:
- Select the virtual device you just created.
- - Click Start..., then click Launch.
+ - Click the Play button.
- Wait until the emulator initializes and shows the Android Wear home screen.
-- Pair Your handheld with the emulator:
+
- Pair your handheld with the emulator:
- On your handheld, install the Android Wear app from Google Play.
- Connect the handheld to your machine through USB.
--
cgit v1.1