Scroll Essential Android 2.3 Uživatelský manuál Strana 17

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 47
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 16
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
Zobrazit stránku 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 46 47

Komentáře k této Příručce

Žádné komentáře