blob: 6e79d5020b0198a577f9dd94863c251375a6f547 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001guide=true
2page.title=Sample Code
3@jd:body
4
5
6<p>Sometimes, the best way to learn how things are done is to just look at some code. So here
Dirk Dougherty392d29a2009-05-01 13:01:24 -07007 we've provided links to let you browse the source of some sample Android applications included
8in the Android SDK. </p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08009
Dirk Dougherty392d29a2009-05-01 13:01:24 -070010<p>The SDK includes a full set of sample applications for each Android platform version
11in the SDK. You can find the sample applications for each platform version in this location:</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080012
Dirk Dougherty392d29a2009-05-01 13:01:24 -070013<p style="margin-left:2em"><code>&lt;sdk&gt;/platforms/android-&lt;version&gt;/samples/</code></p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080014
15<p>You can easily add these applications as projects in your development environment, so that you
16can modify them and watch them execute. </p>
17<dl>
Scott Mainb3855082009-08-24 14:45:00 -070018
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080019 <dt><a href="ApiDemos/index.html">API Demos</a></dt>
Scott Mainb3855082009-08-24 14:45:00 -070020 <dd>A variety of small applications that demonstrate an extensive collection of framework topics.</dd>
21
22 <dt><a href="Home/index.html">Home</a></dt>
23 <dd>An application for saving notes. Similar (but not identical) to the
24 <a href="{@docRoot}guide/tutorials/notepad/index.html">Notepad tutorial</a>.</dd>
25
26 <dt><a href="JetBoy/index.html">JetBoy</a></dt>
27 <dd>JetBoy is a game that demonstrates the SONiVOX JET interactive music technology, with {@link android.media.JetPlayer}.</dd>
28
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080029 <dt><a href="LunarLander/index.html">Lunar Lander</a></dt>
30 <dd>A classic Lunar Lander game.</dd>
Scott Mainb3855082009-08-24 14:45:00 -070031
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080032 <dt><a href="NotePad/index.html">Note Pad</a></dt>
33 <dd>An application for saving notes. Similar (but not identical) to the
34 <a href="{@docRoot}guide/tutorials/notepad/index.html">Notepad tutorial</a>.</dd>
Scott Mainb3855082009-08-24 14:45:00 -070035
Scott Main689d16b2009-08-29 13:17:53 -070036 <dt><a href="SearchableDictionary/index.html">Searchable Dictionary</a></dt>
37 <dd>A sample application that demonstrates Android's search framework,
38 including how to provide search suggestions for Quick Search Box.</dd>
39
Scott Mainb3855082009-08-24 14:45:00 -070040 <dt><a href="Snake/index.html">Snake</a></dt>
41 <dd>An implementation of the classic game "Snake."</dd>
42
43 <dt><a href="SoftKeyboard/index.html">Soft Keyboard</a></dt>
44 <dd>An example of writing an input method for a software keyboard.</dd>
45
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080046</dl>