Scott Main | 0468085 | 2009-08-24 15:27:00 -0700 | [diff] [blame] | 1 | <p>The API Demos application includes a variety of small applications |
| 2 | that illustrate the use of various Android APIs. It includes samples of: |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 3 | </p> |
Scott Main | 0468085 | 2009-08-24 15:27:00 -0700 | [diff] [blame] | 4 | <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 Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 18 | |
Scott Main | ea6c4f9 | 2009-11-20 14:38:29 -0800 | [diff] [blame] | 19 | <script type="text/javascript"> |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 20 | |
Scott Main | ea6c4f9 | 2009-11-20 14:38:29 -0800 | [diff] [blame] | 21 | // This is a totally temporary hack to display the following content only |
| 22 | // when the docs are online. This will be changed once the samples get moved. |
Scott Main | 0468085 | 2009-08-24 15:27:00 -0700 | [diff] [blame] | 23 | |
Scott Main | ea6c4f9 | 2009-11-20 14:38:29 -0800 | [diff] [blame] | 24 | if (toRoot == "/") { |
Scott Main | 0468085 | 2009-08-24 15:27:00 -0700 | [diff] [blame] | 25 | |
Scott Main | ea6c4f9 | 2009-11-20 14:38:29 -0800 | [diff] [blame] | 26 | document.write(""+ |
Dirk Dougherty | e096b94 | 2010-01-11 16:33:57 -0800 | [diff] [blame] | 27 | "<p>You'll notice that all the samples are included in a single Android "+ |
| 28 | "project, so the application code and other resource files for all samples are batched "+ |
| 29 | "together. To help you find the code that's relevant to you, here's a directory that "+ |
Scott Main | ea6c4f9 | 2009-11-20 14:38:29 -0800 | [diff] [blame] | 30 | "points to the program code for the different topics included in the project:</p>"+ |
Scott Main | 0468085 | 2009-08-24 15:27:00 -0700 | [diff] [blame] | 31 | |
Scott Main | ea6c4f9 | 2009-11-20 14:38:29 -0800 | [diff] [blame] | 32 | "<ul><li><a href='src/com/example/android/apis/animation/index.html'>Animation</a></li>"+ |
| 33 | " <li><a href='src/com/example/android/apis/app/index.html'>App</a></li>"+ |
| 34 | " <li><a href='src/com/example/android/apis/appwidget/index.html'>App Widgets</a></li>"+ |
| 35 | " <li><a href='src/com/example/android/apis/content/index.html'>Content</a></li>"+ |
| 36 | " <li><a href='src/com/example/android/apis/graphics/index.html'>Graphics</a></li>"+ |
| 37 | " <li><a href='src/com/example/android/apis/media/index.html'>Media</a></li>"+ |
| 38 | " <li><a href='src/com/example/android/apis/os/index.html'>OS</a></li>"+ |
| 39 | " <li><a href='src/com/example/android/apis/text/index.html'>Text</a></li>"+ |
| 40 | " <li><a href='src/com/example/android/apis/view/index.html'>Views</a></li></ul>"); |
The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 41 | |
Scott Main | ea6c4f9 | 2009-11-20 14:38:29 -0800 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | </script> |