Chapter 17. AppWidgets


This chapter covers

  • Introducing the AppWidget
  • Introducing the sample application: SiteMonitor
  • Implementing the AppWidgetProvider
  • Configuring an AppWidget instance
  • Updating the AppWidgets


Continuing with the theme of exploring the maturing Android platform, this chapter examines the AppWidget, which brings functionality to the phone-top, or home screen, of an Android device. In this chapter, you construct an application named SiteMonitor that ties together many of the fundamental application development skills from prior chapters and adds an interactive presence on the home screen.

By placing content directly on the Android device’s home screen, you empower the user to fully leverage the platform by making powerful ...

Get Android in Action, Third Edition 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.