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