Chapter 16

Updating the Android Status Bar

In This Chapter

  • Understanding the status bar
  • Working with Android's notification manager
  • Updating and clearing notifications

Throughout this book, I cover various ways to grab the user's attention, including dialog boxes, toasts, and new activities. Although these techniques work well in their respective situations, sometimes you need to inform the user of something without stealing his attention from the current activity. That is, you need a way to inform the user that something needs his attention — but only when he has time to tend to the matter. This is exactly what the status bar is for.

In this chapter, I show you how to use the status bar to communicate messages to the user, and I show you how to add this functionality to your Task Reminder app.

Get Android™ Tablet Application Development For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.