java.lang.Object | |
↳ | android.appwidget.AppWidgetHost |
AppWidgetHost provides the interaction with the AppWidget service for apps, like the home screen, that want to embed AppWidgets in their UI.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a appWidgetId for a host in the calling process.
| |||||||||||
Remove all records about all hosts for your package.
| |||||||||||
Stop listening to changes for this AppWidget.
| |||||||||||
Remove all records about this host from the AppWidget manager.
| |||||||||||
Start receiving onAppWidgetChanged calls for your AppWidgets.
| |||||||||||
Stop receiving onAppWidgetChanged calls for your AppWidgets.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called to create the AppWidgetHostView. Override to return a custom subclass if you
need it.
| |||||||||||
Called when the AppWidget provider for a AppWidget has been upgraded to a new apk.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Get a appWidgetId for a host in the calling process.
Remove all records about all hosts for your package.
Stop listening to changes for this AppWidget.
Remove all records about this host from the AppWidget manager.
Start receiving onAppWidgetChanged calls for your AppWidgets. Call this when your activity becomes visible, i.e. from onStart() in your Activity.
Stop receiving onAppWidgetChanged calls for your AppWidgets. Call this when your activity is no longer visible, i.e. from onStop() in your Activity.
Called to create the AppWidgetHostView. Override to return a custom subclass if you need it.
Called when the AppWidget provider for a AppWidget has been upgraded to a new apk.