
CHAPTER 3
Android Wear Suggest
By Michael Hahn, January 2015
The Suggest context stream is one of the core functions for Android Wear. It consists of a sequence of notifications
about timely information, such as incoming messages or upcoming appointments. It can also display useful informa-
tion about a task at hand, such as preparing a recipe or communicating with a digital assistant.
This section explains how to display your own custom notifications on a wearable device. The easiest way is to
create a normal Notification, initialize it with your custom message, and send it using the NotificationManager. These
notifications are displayed on both the handheld device and wearable emulator with a similar level of detail.
Normal text notifications are only the beginning however. Android 4.1 introduced three additional styles: Big Picture,
Big Text, and Inbox. The big picture example demonstrates one way to add a contextual image to the notification.
13
Comentarios a estos manuales