summaryrefslogtreecommitdiffstats
path: root/core/java/android/appwidget/package.html
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-01-07 14:38:23 -0800
committerScott Main <smain@google.com>2011-01-26 14:58:19 -0800
commitf4f05b8f24183b9e0d6959fe8b71fb88543edd9b (patch)
treeeec484b96bc634afa3e31f6a44891c534c9c5832 /core/java/android/appwidget/package.html
parent7b4ba9d80d2cdde310c29d01d0e22c7815d84261 (diff)
downloadframeworks_base-f4f05b8f24183b9e0d6959fe8b71fb88543edd9b.zip
frameworks_base-f4f05b8f24183b9e0d6959fe8b71fb88543edd9b.tar.gz
frameworks_base-f4f05b8f24183b9e0d6959fe8b71fb88543edd9b.tar.bz2
Update package descriptions with editorial revisions.
Notably, this removes exessive info about resources from the content package, because it's not a good location and the info is avilable in the dev guide, but also added some of the info to the Resources class description. Change-Id: Ie78af26c9cec66314deb98e53078f48e16c08e70
Diffstat (limited to 'core/java/android/appwidget/package.html')
-rw-r--r--core/java/android/appwidget/package.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/core/java/android/appwidget/package.html b/core/java/android/appwidget/package.html
index 2b85bd5..19fd2f7 100644
--- a/core/java/android/appwidget/package.html
+++ b/core/java/android/appwidget/package.html
@@ -1,32 +1,32 @@
<body>
-<p>Android allows applications to publish views to be embedded in other applications. These
-views are called widgets, and are published by "AppWidget providers." The component that can
-contain widgets is called a "AppWidget host."
-</p>
-<p>For more information, see the
-<a href="{@docRoot}guide/topics/appwidgets/index.html">AppWidgets</a>
-documentation in the Dev Guide.</p>
-
+<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>
{@more}
-
-
-<h2><a name="providers"></a>AppWidget Providers</h2>
-<p>Any application can publish widgets. All an application needs to do to publish a widget is
-to have a {@link android.content.BroadcastReceiver} that receives the {@link
-android.appwidget.AppWidgetManager#ACTION_APPWIDGET_UPDATE AppWidgetManager.ACTION_APPWIDGET_UPDATE} intent,
-and provide some meta-data about the widget. Android provides the
-{@link android.appwidget.AppWidgetProvider} class, which extends BroadcastReceiver, as a convenience
-class to aid in handling the broadcasts.
-
-
-<h2>AppWidget Hosts</h3>
-<p>Widget hosts are the containers in which widgets can be placed. Most of the look and feel
+<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>
+
+<p>Any application can publish app widgets (as an app widget provider). All an application needs to
+do to publish an app widget is
+provide a {@link android.content.BroadcastReceiver} that receives the {@link
+android.appwidget.AppWidgetManager#ACTION_APPWIDGET_UPDATE} intent
+and provide some metadata about the app widget. Android provides the
+{@link android.appwidget.AppWidgetProvider} class, which extends {@link
+android.content.BroadcastReceiver}, as a convenience class to define the app widget behavrio and aid
+in handling the broadcasts.</p>
+
+<p>App widget hosts are the containers in which widgets can be placed. Most of the look and feel
details are left up to the widget hosts. For example, the home screen has one way of viewing
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>For more information on implementing your own widget host, see the
-{@link android.appwidget.AppWidgetHost AppWidgetHost} class.</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>
</body>