O'Reilly logo

Android 5 Programming by Example by Kyle Mew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Programming notifications

Android 5 provides a more flexible notification framework than the previous versions. In addition to being able to issue standard notifications to the notification bar, we can now expand notifications to include more detail than before, and are able to notify the user when they are using a full-screen app, or even when their screen is locked, with heads-up notifications that float above the screen for a moment.

When using notifications, it is important to be sensitive to our user's needs and not issue too many notifications or give them too great a level of importance. It is for this reason that notifications can be assigned priority and visibility settings. With that said, it is now time to proceed with adding notifications ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required