blob: 002ca15850fdf9f41f4f1f1bedcbd8ee7877ab0e [file] [log] [blame]
Scott Main04680852009-08-24 15:27:00 -07001<p>The API Demos application includes a variety of small applications
2that 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>
5 <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>
17</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
Scott Main936304c2011-10-14 14:02:45 -070023href="src/com/example/android/apis/preference/PreferencesFromCode.html">SwitchPreference</a></li>
Scott Main8e567702011-10-14 11:05:08 -070024<li><a
Scott Main936304c2011-10-14 14:02:45 -070025href="src/com/example/android/apis/app/ActionBarActionProviderActivity.html">ShareActionProvider
Scott Main8e567702011-10-14 11:05:08 -070026</a></li>
Scott Main936304c2011-10-14 14:02:45 -070027<li><a href="src/com/example/android/apis/view/SearchViewActionBar.html">Collapsible action
Scott Main8e567702011-10-14 11:05:08 -070028view</a></li>
Scott Main936304c2011-10-14 14:02:45 -070029<li><a href="src/com/example/android/apis/app/FragmentCustomAnimations.html">Custom
Scott Main8e567702011-10-14 11:05:08 -070030fragment animations</a></li>
Scott Main936304c2011-10-14 14:02:45 -070031<li><a href="src/com/example/android/apis/app/RemoteService.html">Service bindings</a></li>
32<li><a href="src/com/example/android/apis/view/OverscanActivity.html">Full screen UI modes</a></li>
33<li><a href="src/com/example/android/apis/graphics/TouchPaint.html">Stylus and hover
Scott Main8e567702011-10-14 11:05:08 -070034support</a></li>
35<li><a href="src/com/example/android/apis/view/Switches.html">Switch widget</a></li>
36</ul>
37</div>
38
Scott Mainea6c4f92009-11-20 14:38:29 -080039<script type="text/javascript">
The Android Open Source Project52d4c302009-03-03 19:29:09 -080040
Scott Mainea6c4f92009-11-20 14:38:29 -080041// This is a totally temporary hack to display the following content only
42// when the docs are online. This will be changed once the samples get moved.
Scott Main04680852009-08-24 15:27:00 -070043
Scott Mainea6c4f92009-11-20 14:38:29 -080044if (toRoot == "/") {
Scott Main04680852009-08-24 15:27:00 -070045
Scott Mainea6c4f92009-11-20 14:38:29 -080046document.write(""+
Dirk Doughertye096b942010-01-11 16:33:57 -080047"<p>You'll notice that all the samples are included in a single Android "+
48"project, so the application code and other resource files for all samples are batched "+
49"together. To help you find the code that's relevant to you, here's a directory that "+
Scott Mainea6c4f92009-11-20 14:38:29 -080050"points to the program code for the different topics included in the project:</p>"+
Scott Main04680852009-08-24 15:27:00 -070051
Scott Mainea6c4f92009-11-20 14:38:29 -080052"<ul><li><a href='src/com/example/android/apis/animation/index.html'>Animation</a></li>"+
53" <li><a href='src/com/example/android/apis/app/index.html'>App</a></li>"+
54" <li><a href='src/com/example/android/apis/appwidget/index.html'>App Widgets</a></li>"+
55" <li><a href='src/com/example/android/apis/content/index.html'>Content</a></li>"+
56" <li><a href='src/com/example/android/apis/graphics/index.html'>Graphics</a></li>"+
57" <li><a href='src/com/example/android/apis/media/index.html'>Media</a></li>"+
58" <li><a href='src/com/example/android/apis/os/index.html'>OS</a></li>"+
59" <li><a href='src/com/example/android/apis/text/index.html'>Text</a></li>"+
Dianne Hackborn10c33522011-05-27 18:29:00 -070060" <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 -080061
Scott Mainea6c4f92009-11-20 14:38:29 -080062}
63
64</script>