Technical Resources

Filter:

Showing technical resources tagged with Accounts & Sync:

Using the Contacts API

Article about Accounts & Sync and Data Access

Android provides a Contacts API for managing and integrating contacts from multiple accounts and data sources and allows apps to read various information about individual contacts.

Backup and Restore

Sample for Data Access, New Features and Accounts & Sync

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.

BusinessCard

Sample for Accounts & Sync

An application that demonstrates how to launch the built-in contact picker from within an activity. This sample also uses reflection to ensure that the correct version of the contacts API is used, depending on which API level the application is running under.

Contact Manager

Sample for Accounts & Sync

An application that demonstrates how to query the system contacts provider using the ContactsContract API, as well as insert contacts into a specific account.

SampleSyncAdapter

Sample for Accounts & Sync

Demonstrates how an application can communicate with a cloud-based service and synchronize its data with data stored locally in a content provider. The sample uses two related parts of the Android framework — the account manager and the synchronization manager (through a sync adapter).

↑ Go to top