Activity action to launch from your Android.Appwidget.AppWidgetHost activity when you want to pick an AppWidget to display. The AppWidget picker activity will be launched.
You must supply the following extras:
AppWidgetManager.ExtraAppwidgetId | A newly allocated appWidgetId, which will be bound to the AppWidget provider once the user has selected one. |
The system will respond with an onActivityResult call with the following extras in the intent:
AppWidgetManager.ExtraAppwidgetId | The appWidgetId that you supplied in the original intent. |
When you receive the result from the AppWidget pick activity, if the resultCode is Android.App.Activity.RESULT_OK, an AppWidget has been selected. You should then check the AppWidgetProviderInfo for the returned AppWidget, and if it has one, launch its configuration activity. If Android.App.Activity.RESULT_CANCELED is returned, you should delete the appWidgetId.