The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.


Home Screen App Widgets

App widgets are live elements that the user can add to her home screen. Android ships with a variety of app widgets, such as a music player, and device manufacturers frequently add more. However, developers can add their own — in this chapter, we will see how this is done.

For the purposes of this book, “app widgets” will refer to these items that go on the home screen. Other uses of the term “widget” will be reserved for the UI widgets, subclasses of View, usually found in the android.widget Java package.

Prerequisites

Understanding this chapter requires that you have read the core chapters, particularly the chapters on:

App Widgets and Security

The preview of this section will not appear here for a while, due to a time machine mishap.

The Big Picture for a Small App Widget

The preview of this section is unavailable right now, but if you leave your name and number at the sound of the tone, it might get back to you (BEEEEEEEEEEEEP!).

Crafting App Widgets

The preview of this section was eaten by a grue.

Another and Another

The preview of this section is [REDACTED].

App Widgets: Their Life and Times

The preview of this section is in the process of being translated from its native Klingon.

Controlling Your (App Widget’s) Destiny

The preview of this section is [REDACTED].

One Size May Not Fit All

The preview of this section is out seeking fame and fortune as the Dread Pirate Roberts.

Lockscreen Widgets

The preview of this section is in the process of being translated from its native Klingon.

Preview Images

The preview of this section was lost in the sofa cushions.

Being a Good Host

The preview of this section was lost due to a rupture in the space-time continuum.