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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.