summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-12-15 17:36:58 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-12-15 17:36:58 -0800
commit6fbddffc83312b825e888fcdb8b6e52dade05b3e (patch)
tree936408d6150dd712f4570e01608e01f2c01dec14 /docs
parent580f0146535e7daed83aef721f505270f7b040e1 (diff)
parent909fe93021d20bc44cf483a37102275fa0d7a597 (diff)
downloadframeworks_base-6fbddffc83312b825e888fcdb8b6e52dade05b3e.zip
frameworks_base-6fbddffc83312b825e888fcdb8b6e52dade05b3e.tar.gz
frameworks_base-6fbddffc83312b825e888fcdb8b6e52dade05b3e.tar.bz2
Merge "Minor tweaks to Sharing class, updated some typos, wording and a screenshot." into ics-mr0
Diffstat (limited to 'docs')
-rw-r--r--docs/html/images/training/sharing/share-text-screenshot.pngbin33210 -> 22906 bytes
-rw-r--r--docs/html/training/sharing/index.jd6
-rw-r--r--docs/html/training/sharing/receive.jd10
-rw-r--r--docs/html/training/sharing/send.jd2
-rw-r--r--docs/html/training/sharing/shareaction.jd2
5 files changed, 10 insertions, 10 deletions
diff --git a/docs/html/images/training/sharing/share-text-screenshot.png b/docs/html/images/training/sharing/share-text-screenshot.png
index 089221c..0c9f46e 100644
--- a/docs/html/images/training/sharing/share-text-screenshot.png
+++ b/docs/html/images/training/sharing/share-text-screenshot.png
Binary files differ
diff --git a/docs/html/training/sharing/index.jd b/docs/html/training/sharing/index.jd
index cb133c3..9ee5e29 100644
--- a/docs/html/training/sharing/index.jd
+++ b/docs/html/training/sharing/index.jd
@@ -26,9 +26,9 @@ Intent Filters</a></li>
integrate with each other. Why reinvent functionality that isn't core to your application when it
already exists in another application?</p>
-<p>This class shows some common ways you can send and receive content between
+<p>This class covers some common ways you can send and receive content between
applications using {@link android.content.Intent} APIs and the {@link
-android.view.ActionProvider}.</p>
+android.view.ActionProvider} object.</p>
<h2>Lessons</h2>
@@ -40,7 +40,7 @@ applications with intents.</dd>
<dt><b><a href="receive.html">Receiving Content from Other Apps</a></b></dt>
<dd>Learn how to set up your application to receive text and binary data from intents.</dd>
-
+
<dt><b><a href="shareaction.html">Adding an Easy Share Action</a></b></dt>
<dd>Learn how to add a "share" action item to your action bar.</dd>
</dl>
diff --git a/docs/html/training/sharing/receive.jd b/docs/html/training/sharing/receive.jd
index b2cac30..cc55967 100644
--- a/docs/html/training/sharing/receive.jd
+++ b/docs/html/training/sharing/receive.jd
@@ -43,8 +43,8 @@ new Google+ post with photos from the Android Gallery app.</p>
<h2 id="update-manifest">Update Your Manifest</h2>
<p>Intent filters inform the system what intents an application component is willing to accept.
-Just as you constructed an intent with action {@link android.content.Intent#ACTION_SEND} in the
-<a href="{@docRoot}training/sharing/send.html">Send Content to Other Apps Using Intents</a>
+Similar to how you constructed an intent with action {@link android.content.Intent#ACTION_SEND} in
+the <a href="{@docRoot}training/sharing/send.html">Send Content to Other Apps Using Intents</a>
lesson, you create intent filters in order to be able to receive intents with this action. You
define an intent filter in your manifest, using the
<code><a
@@ -78,9 +78,9 @@ Filters</a></p>
<p>When another application tries to share any of these things by constructing an intent and passing
it to {@link android.content.Context#startActivity(android.content.Intent) startActivity()}, your
-application will be listed as an option in the intent chooser (see figure 1). If the user selects
-your application, the corresponding activity (<code>.ui.MyActivity</code> in the example above) will
-be started. It is then up to you to handle the content appropriately within your code and UI.</p>
+application will be listed as an option in the intent chooser. If the user selects your application,
+the corresponding activity (<code>.ui.MyActivity</code> in the example above) will be started. It
+is then up to you to handle the content appropriately within your code and UI.</p>
<h2 id="handling-content">Handle the Incoming Content</h2>
diff --git a/docs/html/training/sharing/send.jd b/docs/html/training/sharing/send.jd
index d151ed0..afb0e34 100644
--- a/docs/html/training/sharing/send.jd
+++ b/docs/html/training/sharing/send.jd
@@ -40,7 +40,7 @@ from other applications by specifying them in your manifest.</p>
<p>Sending and receiving data between applications with intents is most commonly used for social
sharing of content. Intents allow users to share information quickly and easily, using their
-favorite social applications.</p>
+favorite applications.</p>
<p><strong>Note:</strong> The best way to add a share action item to an
{@link android.app.ActionBar} is to use {@link android.widget.ShareActionProvider}, which became
diff --git a/docs/html/training/sharing/shareaction.jd b/docs/html/training/sharing/shareaction.jd
index f6be745..873f614 100644
--- a/docs/html/training/sharing/shareaction.jd
+++ b/docs/html/training/sharing/shareaction.jd
@@ -109,7 +109,7 @@ private void setShareIntent(Intent shareIntent) {
want to set it and then update it as the UI changes. For example, when you view photos full screen
in the Gallery app, the sharing intent changes as you flip between photos.</p>
-<p>For further discussion about the {@link android.widget.ShareActionProvider}, see the <a
+<p>For further discussion about the {@link android.widget.ShareActionProvider} object, see the <a
href="{@docRoot}guide/topics/ui/actionbar.html#ActionProvider">Action Bar</a> guide.</p>