blob: 214c20f7b0bdff2c46d083816c228b64e967538c [file] [log] [blame]
Alexander Lucasf574b132011-10-28 11:36:59 -07001<p>The API Demos application includes a variety of small applications
Scott Main04680852009-08-24 15:27:00 -07002that illustrate the use of various Android APIs. It includes samples of:
The Android Open Source Project52d4c302009-03-03 19:29:09 -08003</p>
Scott Main04680852009-08-24 15:27:00 -07004<ul>
Alexander Lucasf574b132011-10-28 11:36:59 -07005 <li>Notifications</li>
6 <li>Alarms</li>
7 <li>Progress Dialogs</li>
8 <li>Intents</li>
9 <li>Menus</li>
10 <li>Search</li>
11 <li>Persistent application state</li>
12 <li>Preferences</li>
13 <li>Background Services</li>
14 <li>App Widgets</li>
15 <li>Voice Recognition</li>
16 <li>And many many more...</li>
Scott Main04680852009-08-24 15:27:00 -070017</ul>
The Android Open Source Project52d4c302009-03-03 19:29:09 -080018
Scott Main8e567702011-10-14 11:05:08 -070019<div class="note">
20<p><strong>Update:</strong> The following are some of the new demos for Android 4.0:</p>
21<ul>
22<li><a
Svetoslav Ganov30073fb2011-10-21 17:23:10 -070023href="src/com/example/android/apis/preference/PreferencesFromCode.html">Switch Preference</a></li>
Scott Main8e567702011-10-14 11:05:08 -070024<li><a
Svetoslav Ganov30073fb2011-10-21 17:23:10 -070025href="src/com/example/android/apis/app/ActionBarSettingsActionProviderActivity.html">Settings Action Provider
26</a></li>
27<li><a
28href="src/com/example/android/apis/app/ActionBarShareActionProviderActivity.html">Share Action Provider
Scott Main8e567702011-10-14 11:05:08 -070029</a></li>
Scott Main936304c2011-10-14 14:02:45 -070030<li><a href="src/com/example/android/apis/view/SearchViewActionBar.html">Collapsible action
Scott Main8e567702011-10-14 11:05:08 -070031view</a></li>
Scott Main936304c2011-10-14 14:02:45 -070032<li><a href="src/com/example/android/apis/app/FragmentCustomAnimations.html">Custom
Scott Main8e567702011-10-14 11:05:08 -070033fragment animations</a></li>
Scott Main936304c2011-10-14 14:02:45 -070034<li><a href="src/com/example/android/apis/app/RemoteService.html">Service bindings</a></li>
35<li><a href="src/com/example/android/apis/view/OverscanActivity.html">Full screen UI modes</a></li>
36<li><a href="src/com/example/android/apis/graphics/TouchPaint.html">Stylus and hover
Scott Main8e567702011-10-14 11:05:08 -070037support</a></li>
38<li><a href="src/com/example/android/apis/view/Switches.html">Switch widget</a></li>
Svetoslav Ganov7d955852011-10-24 16:07:34 -070039<li><a href="src/com/example/android/apis/accessibility/AccessibilityNodeProviderActivity.html">Accessibility Node Provider</a></li>
Alexander Lucas96c02102011-10-27 15:23:41 -070040<li><a
41 href="src/com/example/android/apis/accessibility/TaskBackService.html">Window
42 Querying Accessibility Service</a></li>
Scott Main8e567702011-10-14 11:05:08 -070043</ul>
44</div>
45
Scott Mainea6c4f92009-11-20 14:38:29 -080046<script type="text/javascript">
The Android Open Source Project52d4c302009-03-03 19:29:09 -080047
Scott Mainea6c4f92009-11-20 14:38:29 -080048// This is a totally temporary hack to display the following content only
49// when the docs are online. This will be changed once the samples get moved.
Scott Main04680852009-08-24 15:27:00 -070050
Scott Mainea6c4f92009-11-20 14:38:29 -080051if (toRoot == "/") {
Scott Main04680852009-08-24 15:27:00 -070052
Scott Mainea6c4f92009-11-20 14:38:29 -080053document.write(""+
Dirk Doughertye096b942010-01-11 16:33:57 -080054"<p>You'll notice that all the samples are included in a single Android "+
55"project, so the application code and other resource files for all samples are batched "+
56"together. To help you find the code that's relevant to you, here's a directory that "+
Scott Mainea6c4f92009-11-20 14:38:29 -080057"points to the program code for the different topics included in the project:</p>"+
Scott Main04680852009-08-24 15:27:00 -070058
Scott Mainea6c4f92009-11-20 14:38:29 -080059"<ul><li><a href='src/com/example/android/apis/animation/index.html'>Animation</a></li>"+
60" <li><a href='src/com/example/android/apis/app/index.html'>App</a></li>"+
61" <li><a href='src/com/example/android/apis/appwidget/index.html'>App Widgets</a></li>"+
62" <li><a href='src/com/example/android/apis/content/index.html'>Content</a></li>"+
63" <li><a href='src/com/example/android/apis/graphics/index.html'>Graphics</a></li>"+
64" <li><a href='src/com/example/android/apis/media/index.html'>Media</a></li>"+
65" <li><a href='src/com/example/android/apis/os/index.html'>OS</a></li>"+
66" <li><a href='src/com/example/android/apis/text/index.html'>Text</a></li>"+
Dianne Hackborn10c33522011-05-27 18:29:00 -070067" <li><a href='src/com/example/android/apis/view/index.html'>Views</a></li></ul>");
The Android Open Source Project52d4c302009-03-03 19:29:09 -080068
Scott Mainea6c4f92009-11-20 14:38:29 -080069}
70
71</script>