加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20140705102909/http://developer.android.com/samples/BasicSyncAdapter/index.html

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.