Skip to content

Commit 6fbddff

Browse files
scottamainAndroid (Google) Code Review
authored andcommitted
Merge "Minor tweaks to Sharing class, updated some typos, wording and a screenshot." into ics-mr0
2 parents 580f014 + 909fe93 commit 6fbddff

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed
-10.1 KB
Loading

docs/html/training/sharing/index.jd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ Intent Filters</a></li>
2626
integrate with each other. Why reinvent functionality that isn't core to your application when it
2727
already exists in another application?</p>
2828

29-
<p>This class shows some common ways you can send and receive content between
29+
<p>This class covers some common ways you can send and receive content between
3030
applications using {@link android.content.Intent} APIs and the {@link
31-
android.view.ActionProvider}.</p>
31+
android.view.ActionProvider} object.</p>
3232

3333

3434
<h2>Lessons</h2>
@@ -40,7 +40,7 @@ applications with intents.</dd>
4040

4141
<dt><b><a href="receive.html">Receiving Content from Other Apps</a></b></dt>
4242
<dd>Learn how to set up your application to receive text and binary data from intents.</dd>
43-
43+
4444
<dt><b><a href="shareaction.html">Adding an Easy Share Action</a></b></dt>
4545
<dd>Learn how to add a "share" action item to your action bar.</dd>
4646
</dl>

docs/html/training/sharing/receive.jd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ new Google+ post with photos from the Android Gallery app.</p>
4343
<h2 id="update-manifest">Update Your Manifest</h2>
4444

4545
<p>Intent filters inform the system what intents an application component is willing to accept.
46-
Just as you constructed an intent with action {@link android.content.Intent#ACTION_SEND} in the
47-
<a href="{@docRoot}training/sharing/send.html">Send Content to Other Apps Using Intents</a>
46+
Similar to how you constructed an intent with action {@link android.content.Intent#ACTION_SEND} in
47+
the <a href="{@docRoot}training/sharing/send.html">Send Content to Other Apps Using Intents</a>
4848
lesson, you create intent filters in order to be able to receive intents with this action. You
4949
define an intent filter in your manifest, using the
5050
<code><a
@@ -78,9 +78,9 @@ Filters</a></p>
7878

7979
<p>When another application tries to share any of these things by constructing an intent and passing
8080
it to {@link android.content.Context#startActivity(android.content.Intent) startActivity()}, your
81-
application will be listed as an option in the intent chooser (see figure 1). If the user selects
82-
your application, the corresponding activity (<code>.ui.MyActivity</code> in the example above) will
83-
be started. It is then up to you to handle the content appropriately within your code and UI.</p>
81+
application will be listed as an option in the intent chooser. If the user selects your application,
82+
the corresponding activity (<code>.ui.MyActivity</code> in the example above) will be started. It
83+
is then up to you to handle the content appropriately within your code and UI.</p>
8484

8585

8686
<h2 id="handling-content">Handle the Incoming Content</h2>

docs/html/training/sharing/send.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ from other applications by specifying them in your manifest.</p>
4040

4141
<p>Sending and receiving data between applications with intents is most commonly used for social
4242
sharing of content. Intents allow users to share information quickly and easily, using their
43-
favorite social applications.</p>
43+
favorite applications.</p>
4444

4545
<p><strong>Note:</strong> The best way to add a share action item to an
4646
{@link android.app.ActionBar} is to use {@link android.widget.ShareActionProvider}, which became

docs/html/training/sharing/shareaction.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private void setShareIntent(Intent shareIntent) {
109109
want to set it and then update it as the UI changes. For example, when you view photos full screen
110110
in the Gallery app, the sharing intent changes as you flip between photos.</p>
111111

112-
<p>For further discussion about the {@link android.widget.ShareActionProvider}, see the <a
112+
<p>For further discussion about the {@link android.widget.ShareActionProvider} object, see the <a
113113
href="{@docRoot}guide/topics/ui/actionbar.html#ActionProvider">Action Bar</a> guide.</p>
114114

115115

0 commit comments

Comments
 (0)