2011-12-13 16:06:16 -08:00
|
|
|
page.title=Sharing Content
|
|
|
|
|
|
|
|
trainingnavtop=true
|
|
|
|
startpage=true
|
|
|
|
next.title=Sending Content to Other Apps
|
|
|
|
next.link=send.html
|
|
|
|
|
|
|
|
@jd:body
|
|
|
|
|
|
|
|
<div id="tb-wrapper">
|
|
|
|
<div id="tb">
|
|
|
|
|
|
|
|
<!-- Required platform, tools, add-ons, devices, knowledge, etc. -->
|
|
|
|
<h2>Dependencies and prerequisites</h2>
|
|
|
|
<ul>
|
|
|
|
<li>Android 1.0 or higher (greater requirements where noted)</li>
|
2012-06-21 17:14:39 -07:00
|
|
|
<li>Experience with <a href="{@docRoot}guide/components/intents-filters.html">Intents and
|
2011-12-13 16:06:16 -08:00
|
|
|
Intent Filters</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<p>One of the great things about Android applications is their ability to communicate and
|
|
|
|
integrate with each other. Why reinvent functionality that isn't core to your application when it
|
|
|
|
already exists in another application?</p>
|
|
|
|
|
2011-12-15 15:54:52 -05:00
|
|
|
<p>This class covers some common ways you can send and receive content between
|
2011-12-13 16:06:16 -08:00
|
|
|
applications using {@link android.content.Intent} APIs and the {@link
|
2011-12-15 15:54:52 -05:00
|
|
|
android.view.ActionProvider} object.</p>
|
2011-12-13 16:06:16 -08:00
|
|
|
|
|
|
|
|
|
|
|
<h2>Lessons</h2>
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
<dt><b><a href="send.html">Sending Content to Other Apps</a></b></dt>
|
|
|
|
<dd>Learn how to set up your application to be able to send text and binary data to other
|
|
|
|
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>
|
2011-12-15 15:54:52 -05:00
|
|
|
|
2011-12-13 16:06:16 -08:00
|
|
|
<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>
|