Scroll Essential Android 2.3 Instrukcja Użytkownika Strona 17

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 47
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 46 47

Komentarze do niniejszej Instrukcji

Brak uwag