public class CallistoWidget
extends AppWidgetProvider
Constructor and Description |
---|
CallistoWidget() |
Modifier and Type | Method and Description |
---|---|
void |
onReceive(Context context,
Intent intent)
Called when the user presses a button on the widget.
|
void |
onUpdate(Context context,
AppWidgetManager appWidgetManager,
int[] appWidgetIds)
Called when the widgets have been notified that they need to be updated
|
static void |
updateAllWidgets(Context c)
Produces a call to update all the widgets.
|
public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds)
context
- Check the Android docsappWidgetManager
- Check the Android docsappWidgetIds
- Check the Android docspublic static void updateAllWidgets(Context c)
c
- The context, used for getApplicationContext()public void onReceive(Context context, Intent intent)
context
- The...uh....context....intent
- The...uh....intent....