From 837a4885978dd29cda4b8309051284af5a45f41c Mon Sep 17 00:00:00 2001 From: Scott Main Date: Tue, 25 Mar 2014 10:39:28 -0700 Subject: fix links and add note that adb forward must be repeated bug: 13474515 bug: 13576843 Change-Id: I808efb5fa1fae2280b4447ad0278ea1d4428b5b6 --- docs/html/wear/notifications/creating.html | 8 ++++---- docs/html/wear/preview/start.html | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/html/wear/notifications/creating.html b/docs/html/wear/notifications/creating.html index e83b57a5c5e3..5022c75a29e5 100644 --- a/docs/html/wear/notifications/creating.html +++ b/docs/html/wear/notifications/creating.html @@ -572,9 +572,9 @@ for users to deliver your app a text response using voice input.

To use these new APIs, pass your instance of NotificationCompat.Builder to the - WearableNotifications.Builder() constructor. You can then add new + WearableNotifications.Builder() constructor. You can then add new features to your notification using the - WearableNotifications.Builder methods. For example:

@@ -592,10 +592,10 @@ Notification notification =
         .build();
 
-

The +

The setHintHideIcon() method removes your app icon from the notification card. This method is just one example of new notification features available from the - WearableNotifications.Builder class.

When you want to deliver your notifications, be certain to always use the diff --git a/docs/html/wear/preview/start.html b/docs/html/wear/preview/start.html index 4aec648c3941..b1861f5f36ba 100644 --- a/docs/html/wear/preview/start.html +++ b/docs/html/wear/preview/start.html @@ -558,7 +558,10 @@ Gmail or Google account you use with Google Play Store.

The emulator should show the time and an icon that indicates no device is connected.
  • Open a command line terminal, navigate to your Android SDK's platform-tools/ directory, then execute: -
    adb -d forward tcp:5601 tcp:5601
  • +
    adb -d forward tcp:5601 tcp:5601
    +

    Note: You must execute this command each time you connect your +device over USB.

    +
  • Return to the Android Wear Preview app. It should now indicate that it is connected to the emulator. The Android Wear emulator should now show the 'g' orb icon, indicating that is is connected to your device. -- cgit v1.2.3-59-g8ed1b