Android widgets

Archived

This page has been archived and will receive no further updates.

http://developer.android.com/guide/topics/appwidgets/index.html

http://developer.android.com/guide/practices/ui_guidelines/widget_design.html

Hello, Android p. 217

  1. create a new android project with no activity
  2. create a receiver in AndroidManifest.xml
  3. create widget definition in res/xml/widget.xml
  4. create the layout for the widget in res/layout
  5. create the widget class, extending android.appwidget.AppWidgetProvider