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.


Notifications

Pop-up messages. Tray icons and their associated “bubble” messages. Bouncing dock icons. You are no doubt used to programs trying to get your attention, sometimes for good reason.

Your phone also probably chirps at you for more than just incoming calls: low battery, alarm clocks, appointment notifications, incoming text message or email, etc.

Not surprisingly, Android has a whole framework for dealing with these sorts of things, collectively called “notifications”.

Prerequisites

Understanding this chapter requires you to have read the core chapters of the book.

What’s a Notification?

The preview of this section is en route to Mars.

Notifications and Channels

The preview of this section is being chased by zombies.

Showing a Simple Notification

The preview of this section left for Hollywood to appear in a reality TV show.

The Activity-Or-Notification Scenario

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

Big (and Rich) Notifications

The preview of this section will not appear here for a while, due to a time machine mishap.

Foreground Services

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

Disabled Notifications

The preview of this section will not appear here for a while, due to a time machine mishap.