blob: 58a69fc8734ee8ea9b58b63e5ddc04c9e5bb38bb [file] [log] [blame]
Joe Malin45edbb72013-08-26 14:55:54 -07001page.title=Sharing Simple Data
Joe Fernandez33baa5a2013-11-14 11:41:19 -08002page.tags=intents,share
Scott Main70645e32011-12-13 16:06:16 -08003
4trainingnavtop=true
5startpage=true
Scott Main70645e32011-12-13 16:06:16 -08006
7@jd:body
8
9<div id="tb-wrapper">
10<div id="tb">
11
12<!-- Required platform, tools, add-ons, devices, knowledge, etc. -->
13<h2>Dependencies and prerequisites</h2>
14<ul>
15 <li>Android 1.0 or higher (greater requirements where noted)</li>
Scott Main50e990c2012-06-21 17:14:39 -070016 <li>Experience with <a href="{@docRoot}guide/components/intents-filters.html">Intents and
Scott Main70645e32011-12-13 16:06:16 -080017Intent Filters</a></li>
18</ul>
19
20</div>
21</div>
22
Joe Malin45edbb72013-08-26 14:55:54 -070023
Scott Main70645e32011-12-13 16:06:16 -080024<p>One of the great things about Android applications is their ability to communicate and
25integrate with each other. Why reinvent functionality that isn't core to your application when it
Joe Malin45edbb72013-08-26 14:55:54 -070026already exists in another application?</p>
Scott Main70645e32011-12-13 16:06:16 -080027
Joe Malin45edbb72013-08-26 14:55:54 -070028<p>This class covers some common ways you can send and receive simple data between
Scott Main70645e32011-12-13 16:06:16 -080029applications using {@link android.content.Intent} APIs and the {@link
Adam Koch909fe932011-12-15 15:54:52 -050030android.view.ActionProvider} object.</p>
Scott Main70645e32011-12-13 16:06:16 -080031
32
33<h2>Lessons</h2>
Adam Koch909fe932011-12-15 15:54:52 -050034
Joe Malin45edbb72013-08-26 14:55:54 -070035<dl>
36 <dt><b><a href="send.html">Sending Simple Data to Other Apps</a></b></dt>
37 <dd>Learn how to set up your application to be able to send text and binary data to other
38applications with intents.</dd>
39
40 <dt><b><a href="receive.html">Receiving Simple Data from Other Apps</a></b></dt>
41 <dd>Learn how to set up your application to receive text and binary data from intents.</dd>
42
43 <dt><b><a href="shareaction.html">Adding an Easy Share Action</a></b></dt>
44 <dd>Learn how to add a "share" action item to your action bar.</dd>
45</dl>