
Android Wear Docs, Release 1.1
4. When prompted to choose a device, select your handheld device and click OK.
5. Wait for the Application to fully compile and start.
2.2.2 Wearable Code
If the sample has Wearable code perform these steps.
1. Select Wearable in the toolbar.
2. Select Run. If the wearable has a default Activity, it is started.
3. If the Wearable does not have a default activity, the Run/Debug Configuration dialog is displayed. Select Do
Not Launch Activity, then click OK.
4. When prompted to choose a device, select your wearable device and click OK.
2.3 Try the Watchface Sample
This sample installs six watch face samples. These include a variety of analog and digital time displays, including
full-screen displays of the current time and split-screen displays of time and timely information. These samples are a
starting point for developers interested in creating innovative new watch faces.
The watch face sample consists of services only; it is not an application that you can launch from an icon. On the
handheld, you view the sample watch faces in the opening page of the Android Wear companion app.
On the wearable, you view the sample watch faces in Settings, under the Change Watch Face. In the small screen, you
must scroll through them one at at time.
On both the handheld and wearable, watch faces display a gear icon if they have customizable settings. In the Android
Wear companion app, selecting the sample digital watch face displays the following choices:
On the wearable, you can only choose a background color when you select the icon:
8 Chapter 2. What About the Sample Apps?
Kommentare zu diesen Handbüchern