Files
android_development/samples/wearable/SynchronizedNotifications/_index.html
Tony Wickham ab63d27944 Added _index.html and screenshots to all samples.
Bug 15814554

Change-Id: Icdb08c5cc39f97c88674e4177b88b47adce59127
2014-07-08 19:48:23 -07:00

28 lines
1.5 KiB
HTML

<p><b>About:</b> This sample creates three simple types of notifications:
<ol>
<li>A phone-only notification</li>
<li>A watch-only notification</li>
<li>A pair of synchronized phone and watch notifications where the content shown
on the watch notification is different from the one on the phone. These notifications
are synchronized in the sense that dismissing one results in dismissal of the other one
(all based on the Data Layer APIs).</li>
</ol>
</p>
<p><b>How to run:</b> Install the Application APK on the companion, and the Wearable APK on the
wearable. Start the sample by running the SynchronizedNotifications application on the companion.
</p>
<p><b>Wearable APIs used:</b> DataApi, WearableListenerService</p>
<p><b>Screenshots:</b>
<figure>
<img src="screenshots/notification_options.png" alt="Notification options" width="216"
height="384">
<img src="screenshots/watch_only_notification.png" alt="Watch only notification" width="140"
height="140">
<img src="screenshots/different_notifications_phone.png"
alt="Different notifications - phone" width="216" height="384">
<img src="screenshots/different_notifications_wearable.png"
alt="Different notifications - watch" width="140" height="140">
<figcaption>From left to right: notification options, Watch Only Notification, Different
Notifications - Phone, and Different Notifications - Watch</figcaption>
</figure>
</p>