The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


Advanced Notifications

Notifications are those icons that appear in the status bar (or system bar on tablets), typically to alert the user of something that is going on in the background or has completed in the background. Many apps use them, to let the user know of new email messages, calendar reminders, and so on. Foreground services, such as music players, also use notifications, to tell the OS that they are part of the foreground user experience and to let the user rapidly return to the apps to turn the music off.

There are other tricks available with the Notification object beyond those originally discussed in an earlier chapter.

Prerequisites

Understanding this chapter requires that you have read the chapter on basic notifications and the section on RemoteViews in the chapter on basic app widgets.

Being a Good Citizen

The preview of this section is presently indisposed.

More About Channels

The preview of this section took that left turn at Albuquerque.

Wear? There!

The preview of this section was last seen in the Bermuda Triangle.

Stacking Notifications

The preview of this section was traded for a bag of magic beans.

Avoiding Wear

The preview of this section was fed to a gremlin, after midnight.

Other Wear-Specific Notification Options

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.

Remote Input, On-Device

The preview of this section is in the process of being translated from its native Klingon.

Notification Groups

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.

Lockscreen Notifications

The preview of this section was eaten by a grue.

Priority, Importance, and Heads-Up Notifications

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.

Full-Screen Notifications

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.

Progress Notifications

The preview of this section is presently indisposed.

Custom Views

The preview of this section was the victim of a MITM ('Martian in the middle') attack.

Life After Delete

The preview of this section is off trying to sweet-talk the Khaleesi into providing us with a dragon.

The Mysterious Case of the Missing Number

The preview of this section was abducted by space aliens.

Notifications and MessagingStyle

The preview of this section is off trying to sweet-talk the Khaleesi into providing us with a dragon.

Changes in API Level 23

The preview of this section was last seen in the Bermuda Triangle.

Sounds and Android 7.0

The preview of this section is being chased by zombies.

Auto-Timeout

The preview of this section is en route to Mars.

Colorized Notifications

The preview of this section was eaten by a grue.