to top

BasicSyncAdapter

This sample demonstrates how to implement a sync adapter to fetch background data for an app that doesn't require a user-visible account type or two-way synchronization.

The sample periodically downloads the feed from the Android Developers Blog and caches the data in a content provider. At runtime, the cached feed data is displayed inside a ListView.

To learn more about creating and using sync adapters, see Transferring Data Using Sync Adapters.