• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=List of Sample Apps
2@jd:body
3
4<p>The list below provides a summary of the sample applications that are
5available with the Android SDK. Using the links on this page, you can view
6the source files of the sample applications in your browser. </p>
7
8<p>You can also download the source of these samples into your SDK, then
9modify and reuse it as you need. For more information, see <a
10href="{@docRoot}resources/samples/get.html">Getting the Samples</a>.</p>
11<!--
12<div class="special">
13  <p>Some of the samples in this listing may not yet be available in the
14  SDK. To ensure that you have the latest versions of the samples, you can
15  <a href="{@docRoot}shareables/latest_samples.zip">download the samples pack</a>
16  as a .zip archive.</p>
17</div>
18-->
19<dl>
20
21 <dt><a href="AccelerometerPlay/index.html">Accelerometer Play</a></dt>
22  <dd>An example that demonstrates how to use accelerometer readings
23  in an application.</dd>
24
25 <dt><a href="AccessibilityService/index.html">Accessibility Service</a></dt>
26  <dd>An example that demonstrates the use of accessibility APIs.</dd>
27
28 <dt><a href="ApiDemos/index.html">API Demos</a></dt>
29  <dd>A variety of small applications that demonstrate an extensive collection of
30  framework topics.</dd>
31
32 <dt><a href="BackupRestore/index.html">Backup and Restore</a></dt>
33  <dd>A simple example that illustrates a few different ways for an application to
34  implement support for the Android data backup and restore mechanism.</dd>
35
36 <dt><a href="BluetoothChat/index.html">Bluetooth Chat</a></dt>
37  <dd>An application for two-way text messaging over Bluetooth.</dd>
38
39  <dt><a href="BusinessCard/index.html">BusinessCard</a></dt>
40   <dd>An application that demonstrates how to launch the built-in contact
41   picker from within an activity. This sample also uses reflection to ensure
42   that the correct version of the contacts API is used, depending on which
43   API level the application is running under.</dd>
44
45 <dt><a href="ContactManager/index.html">Contact Manager</a></dt>
46  <dd>An application that demonstrates how to query the system contacts provider
47  using the <code>ContactsContract</code> API, as
48  well as insert contacts into a specific account.</dd>
49
50 <dt><a href="Home/index.html">Home</a></dt>
51  <dd>A home screen replacement application.</dd>
52
53 <dt><a href="JetBoy/index.html">JetBoy</a></dt>
54  <dd>A game that demonstrates the SONiVOX JET interactive music technology,
55  with {@link android.media.JetPlayer}.</dd>
56
57 <dt><a href="CubeLiveWallpaper/index.html">Live Wallpaper</a></dt>
58  <dd>An application that demonstrates how to create a live wallpaper and
59  bundle it in an application that users can install on their devices.</dd>
60
61 <dt><a href="LunarLander/index.html">Lunar Lander</a></dt>
62  <dd>A classic Lunar Lander game.</dd>
63
64  <dt><a href="MultiResolution/index.html">Multiple Resolutions</a></dt>
65  <dd>A sample application that shows how to use resource directory qualifiers to
66  provide different resources for different screen configurations.</dd>
67
68 <dt><a href="NFCDemo/index.html">NFCDemo</a></dt>
69  <dd>An application for reading NFC Forum Type 2 Tags using platform NFC apis.</a>.</dd>
70
71 <dt><a href="NotePad/index.html">Note Pad</a></dt>
72  <dd>An application for saving notes. Similar (but not identical) to the
73    <a href="{@docRoot}resources/tutorials/notepad/index.html">Notepad tutorial</a>.</dd>
74
75 <dt><a href="SampleSyncAdapter/index.html">SampleSyncAdapter</a></dt>
76  <dd>Demonstrates how an application can communicate with a
77cloud-based service and synchronize its data with data stored locally in a
78content provider. The sample uses two related parts of the Android framework
79&mdash; the account manager and the synchronization manager (through a sync
80adapter).</dd>
81
82 <dt><a href="SearchableDictionary/index.html">Searchable Dictionary</a></dt>
83  <dd>A sample application that demonstrates Android's search framework,
84  including how to provide search suggestions for Quick Search Box.</dd>
85
86 <dt><a href="SipDemo/index.html">SIP Demo</a></dt>
87 <dd>An application that demonstrates how to make an internet-based call using the SIP
88 API.</dd>
89
90 <dt><a href="Snake/index.html">Snake</a></dt>
91  <dd>An implementation of the classic game "Snake."</dd>
92
93 <dt><a href="SoftKeyboard/index.html">Soft Keyboard</a></dt>
94  <dd>An example of writing an input method for a software keyboard.</dd>
95
96 <dt><a href="Spinner/index.html">Spinner</a></dt>
97 <dd>
98    A simple application that serves as an application-under-test for the
99    SpinnerTest sample application.
100 </dd>
101 <dt><a href="SpinnerTest/index.html">SpinnerTest</a></dt>
102 <dd>
103    An example test application that contains test cases run against the
104    Spinner sample application.
105    To learn more about the application and how to run it,
106    please read the
107    <a href="{@docRoot}resources/tutorials/testing/activity_test.html">Activity Testing</a> tutorial.
108 </dd>
109 <dt><a href="TicTacToeLib/index.html">TicTacToeLib</a></dt>
110 <dd>
111    An example of an Android library project that provides a game-play
112    Activity to any dependent application project. For an example of
113    how an application can use the code and resources in an Android
114    library project, see the <a
115    href="{@docRoot}resources/samples/TicTacToeMain/index.html">TicTacToeMain</a>
116    sample application.
117 </dd>
118 <dt><a href="TicTacToeMain/index.html">TicTacToeMain</a></dt>
119 <dd>
120    An example of an Android application that makes use of code and
121    resources provided in an Android library project. Specifically, this
122    application uses code and resources provided in the <a
123    href="{@docRoot}resources/samples/TicTacToeLib/index.html">TicTacToeLib</a> library project.
124 </dd>
125 <dt><a href="Wiktionary/index.html">Wiktionary</a></dt>
126  <dd>An example of creating interactive widgets for display on the Android
127  home screen.</dd>
128
129 <dt><a href="WiktionarySimple/index.html">Wiktionary (Simplified)</a></dt>
130  <dd>A simple Android home screen widgets example.</dd>
131</dl>
132
133
134<div class="special">
135<p>For more sample applications, check out
136<a href="http://code.google.com/p/apps-for-android/">apps-for-android</a>, a
137collection of open source applications that demonstrate various Android APIs.
138</p>
139</div>
140
141
142