diff options
Diffstat (limited to 'core/java/android/appwidget')
-rw-r--r-- | core/java/android/appwidget/AppWidgetManager.java | 6 | ||||
-rwxr-xr-x | core/java/android/appwidget/AppWidgetProvider.java | 9 | ||||
-rw-r--r-- | core/java/android/appwidget/package.html | 11 |
3 files changed, 18 insertions, 8 deletions
diff --git a/core/java/android/appwidget/AppWidgetManager.java b/core/java/android/appwidget/AppWidgetManager.java index 09661a5..a7f7792 100644 --- a/core/java/android/appwidget/AppWidgetManager.java +++ b/core/java/android/appwidget/AppWidgetManager.java @@ -35,6 +35,12 @@ import java.util.WeakHashMap; /** * Updates AppWidget state; gets information about installed AppWidget providers and other * AppWidget related state. + * + * <div class="special reference"> + * <h3>Developer Guides</h3> + * <p>For more information about creating app widgets, read the + * <a href="{@docRoot}guide/topics/appwidgets/index.html">App Widgets</a> developer guide.</p> + * </div> */ public class AppWidgetManager { static final String TAG = "AppWidgetManager"; diff --git a/core/java/android/appwidget/AppWidgetProvider.java b/core/java/android/appwidget/AppWidgetProvider.java index f1bbede..00a5f0c 100755 --- a/core/java/android/appwidget/AppWidgetProvider.java +++ b/core/java/android/appwidget/AppWidgetProvider.java @@ -31,8 +31,13 @@ import android.os.Bundle; * <p>Extend this class and override one or more of the {@link #onUpdate}, {@link #onDeleted}, * {@link #onEnabled} or {@link #onDisabled} methods to implement your own AppWidget functionality. * </p> - * <p>For an example of how to write a AppWidget provider, see the - * <a href="{@docRoot}guide/topics/appwidgets/index.html#Providers">AppWidgets</a> documentation.</p> + * + * <div class="special reference"> + * <h3>Developer Guides</h3> + * <p>For more information about how to write an app widget provider, read the + * <a href="{@docRoot}guide/topics/appwidgets/index.html#AppWidgetProvider">App Widgets</a> + * developer guide.</p> + * </div> */ public class AppWidgetProvider extends BroadcastReceiver { /** diff --git a/core/java/android/appwidget/package.html b/core/java/android/appwidget/package.html index 19fd2f7..aa72da2 100644 --- a/core/java/android/appwidget/package.html +++ b/core/java/android/appwidget/package.html @@ -2,11 +2,11 @@ <p>Contains the components necessary to create "app widgets", which users can embed in other applications (such as the home screen) to quickly access application data and services without launching a new activity.</p> -<p>For more information, see the -<a href="{@docRoot}guide/topics/appwidgets/index.html">App Widgets</a> -developer guide.</p> +<p>For more information, see the +<a href="{@docRoot}guide/topics/appwidgets/index.html">App Widgets</a> developer guide.</p> {@more} + <p>The behavior of an app widget is published by an "app widget provider." An "app widget host" is a component that can contain app widgets (such as the Home screen).</p> @@ -24,9 +24,8 @@ details are left up to the widget hosts. For example, the home screen has one w widgets, but the lock screen could also contain widgets, and it would have a different way of adding, removing and otherwise managing widgets.</p> -<p>The <a href="{@docRoot}guide/topics/appwidgets/index.html">App Widgets</a> -developer guide shows you how to create an app widget provider. For information about implementing -an app widget host, see the {@link android.appwidget.AppWidgetHost} class.</p> +<p>For information about implementing an app widget host, see the {@link +android.appwidget.AppWidgetHost} class.</p> </body> |