Code example for AppWidgetHost

Methods: allocateAppWidgetId