Android Wearable Programming
上QQ阅读APP看书,第一时间看更新

Chapter 2. Creating Notifications

This chapter provides you with a background of essential features of Android notifications and how we can use these to send messages between a handheld device and a wearable device.

We will be taking a look at how we can use different notification methods to develop an application that shows how we can create basic and custom notifications. You will also learn how you can incorporate and make use of Android's voice capabilities to respond to notification messages that are contained within a notification.

At the end of the chapter, we will take a look at how we can use notification stacking to display multiple notification messages within a notification.

This chapter includes the following topics:

  • Introducing Android notifications
  • Creating a basic notification for wearables
  • Creating a custom notification for wearables
  • Receiving voice input within a notification
  • Receiving multiple notifications through a process called page stacking