18. Home Screen Widgets

This chapter is focused on understanding the role of app widgets, including what kind of data they display and how they are updated. App widgets are handy, small applications that users employ to display information. You will learn how they are embedded in home screen applications to become home screen widgets. You will look at app widget life cycle methods and learn about the BroadcastReceiver class that implements these methods. You will also see how home screen widgets are updated through XML configuration files, through event listeners, and through the AlarmManager service.

Recipe: Understanding App Widgets and Home Screen Widgets

App widgets are small visual components that can be embedded in another application. ...

Get The Android™ Tablet Developer’s Cookbook 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.