The API Demos application includes a variety of small applications that illustrate the use of various Android APIs. It includes samples of:
- Notifications
- Alarms
- Progress Dialogs
- Intents
- Menus
- Search
- Persistent application state
- Preferences
- Background Services
- App Widgets
- Voice Recognition
- And many many more...
Api demos is designed to use the compatibility library "android-support-v4.jar". It is available through the SDK Updater in the "Android Compatibility package". Once downloaded, copy the jar file into the ApiDemos project libs/ folder. (If using Eclipse, add it manually to the project build path).
这是android SDK里的ApiDemos。 各个包里都有什么: accessibility易用性: animation动画: app:四大组件/fragment/系统服务 appwidget:桌面小部件 content:资源,数据,内容提供者 graphics:图像/拍照/OpenGL hardware media:多媒体 nfc os:sms preference:设置 security:keyStore text:文本 view
可参考: http://blog.csdn.net/column/details/mapdigitapidemos.html