App Widget Configuration UI

Widget hosts have the ability to start a configuration activity when a widget is instantiated. The activity should be declared as normal in AndroidManifest.xml, and it should be listed in the AppWidgetProviderInfo XML file in the android:configure attribute.

The activity you specified will be launched with the ACTION APPWIDGET CONFIGURE action. See the documentation for that action for more info.

See the src/com/example/android/apis/appwidget/ sample class in ApiDemos for an example.

0 0

Post a comment