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: 3 </p> 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>Background Services</li> 13 <li>App Widgets</li> 14 <li>Voice Recognition</li> 15 <li>And many many more...</li> 16 </ul> 17 18 <div class="note"> 19 <p><strong>Update:</strong> The following are some of the new demos for Android 4.0:</p> 20 <ul> 21 <li><a 22 href="src/com/example/android/apis/app/ActionBarSettingsActionProviderActivity.html">Settings Action Provider 23 </a></li> 24 <li><a 25 href="src/com/example/android/apis/app/ActionBarShareActionProviderActivity.html">Share Action Provider 26 </a></li> 27 <li><a href="src/com/example/android/apis/view/SearchViewActionBar.html">Collapsible action 28 view</a></li> 29 <li><a href="src/com/example/android/apis/app/FragmentCustomAnimations.html">Custom 30 fragment animations</a></li> 31 <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 34 support</a></li> 35 <li><a href="src/com/example/android/apis/view/Switches.html">Switch widget</a></li> 36 <li><a href="src/com/example/android/apis/accessibility/AccessibilityNodeProviderActivity.html">Accessibility Node Provider</a></li> 37 <li><a 38 href="src/com/example/android/apis/accessibility/TaskBackService.html">Window 39 Querying Accessibility Service</a></li> 40 <li><a 41 href="src/com/example/android/apis/accessibility/CustomViewAccessibilityActivity.html">Custom View 42 Accessibility</a></li> 43 44 </ul> 45 </div> 46 47 <script type="text/javascript"> 48 49 // This is a totally temporary hack to display the following content only 50 // when the docs are online. This will be changed once the samples get moved. 51 52 if (toRoot == "/") { 53 54 document.write(""+ 55 "<p>You'll notice that all the samples are included in a single Android "+ 56 "project, so the application code and other resource files for all samples are batched "+ 57 "together. To help you find the code that's relevant to you, here's a directory that "+ 58 "points to the program code for the different topics included in the project:</p>"+ 59 60 "<ul><li><a href='src/com/example/android/apis/animation/index.html'>Animation</a></li>"+ 61 " <li><a href='src/com/example/android/apis/app/index.html'>App</a></li>"+ 62 " <li><a href='src/com/example/android/apis/appwidget/index.html'>App Widgets</a></li>"+ 63 " <li><a href='src/com/example/android/apis/content/index.html'>Content</a></li>"+ 64 " <li><a href='src/com/example/android/apis/graphics/index.html'>Graphics</a></li>"+ 65 " <li><a href='src/com/example/android/apis/media/index.html'>Media</a></li>"+ 66 " <li><a href='src/com/example/android/apis/os/index.html'>OS</a></li>"+ 67 " <li><a href='src/com/example/android/apis/text/index.html'>Text</a></li>"+ 68 " <li><a href='src/com/example/android/apis/view/index.html'>Views</a></li></ul>"); 69 70 } 71 72 </script> 73