src.rar - ContactManager - Contact Manager
A sample application that demonstrates how to manually query the system contacts provider using the new ContactsContract API, as well as manually insert contacts into a specific account.
In most cases, you will want to ask the existing Contacts activity to handle these tasks for you, resulting in a more consistent user experience.,2010-08-02 12:29:35,下载1次
src.rar - BluetoothChat - Bluetooth Chat
This application allows two Android devices to carry out two-way text chat over Bluetooth. It demonstrates all the fundamental Bluetooth API capabilites, such as:
* Scanning for other Bluetooth devices
* Querying the local Bluetooth adapter for paired Bluetooth devices
* Establishing RFCOMM channels/sockets
* Connecting to a remote device
* Transfering data over Bluetooth
,2010-08-02 12:28:39,下载25次
src.rar - BackupRestore - Backup and Restore
The Backup/Restore application illustrates a few different approaches that an application developer can take when integrating with the Android Backup Manager using the BackupAgent API introduced in Android 2.2.,2010-08-02 12:27:53,下载16次
src.rar -
ApiDemos - API Demos
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...
You ll notice that all the samples are included in a single Android project, so the application code and other resource files for all samples are batched together. To help you find the code that s relevant to you, here s a directory that points to the program code for the different topics included in the project:,2010-08-02 12:25:58,下载19次