Lines Matching full:appwidgetprovider
2 page.tags=home,AppWidgetProvider
14 <li><a href="#AppWidgetProvider">Using the AppWidgetProvider Class</a>
48 <li>{@link android.appwidget.AppWidgetProvider}</li>
89 and the AppWidgetProvider class. This should be defined in XML.</dd>
90 <dt>{@link android.appwidget.AppWidgetProvider} class implementation</dt>
111 <p>First, declare the {@link android.appwidget.AppWidgetProvider} class in your
127 attribute, which specifies the {@link android.appwidget.AppWidgetProvider} used
133 that the {@link android.appwidget.AppWidgetProvider} accepts the {@link
138 automatically sends all other App Widget broadcasts to the AppWidgetProvider as
216 android.appwidget.AppWidgetProvider} by calling the
217 {@link android.appwidget.AppWidgetProvider#onUpdate(android.content.Context,android.appwidget.AppWidgetManager,int[]) onUpdate()}
236 an Intent that your AppWidgetProvider receives, using the {@link
397 <h2 id="AppWidgetProvider">Using the AppWidgetProvider Class</h2>
401 <p>You must declare your AppWidgetProvider class implementation as a
408 <p>The {@link android.appwidget.AppWidgetProvider} class extends
410 class to handle the App Widget broadcasts. The AppWidgetProvider receives only
414 When these broadcast events occur, the AppWidgetProvider receives the following
419 {@link android.appwidget.AppWidgetProvider#onUpdate(android.content.Context,android.appwidget.AppWidgetManager,int[]) onUpdate()}
438 {@link android.appwidget.AppWidgetProvider#onAppWidgetOptionsChanged onAppWidgetOptionsChanged()}
455 <dt>{@link android.appwidget.AppWidgetProvider#onDeleted(Context,int[])}</dt>
458 <dt>{@link android.appwidget.AppWidgetProvider#onEnabled(Context)}</dt>
465 <dt>{@link android.appwidget.AppWidgetProvider#onDisabled(Context)}</dt>
469 {@link android.appwidget.AppWidgetProvider#onEnabled(Context)},
471 <dt>{@link android.appwidget.AppWidgetProvider#onReceive(Context,Intent)}</dt>
475 AppWidgetProvider
480 <p>The most important AppWidgetProvider callback is
481 {@link android.appwidget.AppWidgetProvider#onUpdate(android.content.Context, android.appwidget.AppWidgetManager, int[]) onUpdate()}
487 {@link android.appwidget.AppWidgetProvider#onUpdate(android.content.Context, android.appwidget.AppWidgetManager, int[]) onUpdate()}
491 implementation of AppWidgetProvider:</p>
494 public class ExampleAppWidgetProvider extends AppWidgetProvider {
519 <p>This AppWidgetProvider defines only the
521 android.appwidget.AppWidgetProvider#onUpdate(android.content.Context, android.appwidget.AppWidgetManager, int[]) onUpdate()}
538 android.appwidget.AppWidgetProvider} is an extension of {@link
545 {@link android.appwidget.AppWidgetProvider#onUpdate(Context,AppWidgetManager,int[]) onUpdate()}
547 to the App Widget without worrying about the AppWidgetProvider closing down due
550 href="http://code.google.com/p/wiktionary-android/source/browse/trunk/Wiktionary/src/com/example/android/wiktionary/WordWidget.java">Wiktionary sample's AppWidgetProvider</a> for an example of an App Widget running a {@link
560 <p>{@link android.appwidget.AppWidgetProvider} is just a convenience class. If
564 {@link android.appwidget.AppWidgetProvider#onReceive(Context,Intent)} callback.
634 {@link android.appwidget.AppWidgetProvider#onUpdate(Context,AppWidgetManager,int[]) onUpdate()}
642 {@link android.appwidget.AppWidgetProvider#onUpdate(Context,AppWidgetManager,int[]) onUpdate()}
759 {@link android.appwidget.AppWidgetProviderInfo#WIDGET_CATEGORY_KEYGUARD}. This value is determined by the host into which the widget is bound. In the {@link android.appwidget.AppWidgetProvider}, you can then check the widget's category, for example:</p>
985 <h4 id="AppWidgetProvider-collections">AppWidgetProvider class for app widgets with collections</h4>
988 android.appwidget.AppWidgetProvider} subclass typically goes in {@link
989 android.appwidget.AppWidgetProvider#onUpdate(android.content.Context,
992 android.appwidget.AppWidgetProvider#onUpdate(android.content.Context,
1006 android.appwidget.AppWidgetProvider#onUpdate(android.content.Context,
1182 <p> As described in <a href="#AppWidgetProvider">Using the AppWidgetProvider
1210 android.appwidget.AppWidgetProvider} subclass) creates a pending intent that has
1216 {@link android.appwidget.AppWidgetProvider#onReceive(android.content.Context,
1233 android.appwidget.AppWidgetProvider} subclass) sets up a pending intent.
1242 android.appwidget.AppWidgetProvider#onReceive(android.content.Context,
1248 <pre>public class StackWidgetProvider extends AppWidgetProvider {