Chapter    21

Home Screen Widgets

Home screen widgets in Android present frequently changing information on the home screen of Android. Home screen widgets are disconnected views displayed on the home screen. Data content of these views is updated at regular intervals by background processes or just kept as a static view.

For example, an e-mail home screen widget might alert you to the number of outstanding e-mails to be read. The widget may just show you the number of e-mails and not the messages themselves. Clicking the e-mail count may then take you to the activity that displays actual e-mails. These could even be external e-mail sources such as Yahoo, Gmail, and Hotmail, as long as the device has a way to access the counts through HTTP or ...

Get Pro Android 5, Fifth Edition now with the O’Reilly learning platform.

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