xref: /aosp_15_r20/development/samples/browseable/BasicSyncAdapter/_index.jd (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker
2*90c8c64dSAndroid Build Coastguard Workerpage.tags="BasicSyncAdapter"
3*90c8c64dSAndroid Build Coastguard Workersample.group=Connectivity
4*90c8c64dSAndroid Build Coastguard Worker@jd:body
5*90c8c64dSAndroid Build Coastguard Worker
6*90c8c64dSAndroid Build Coastguard Worker<p>
7*90c8c64dSAndroid Build Coastguard Worker
8*90c8c64dSAndroid Build Coastguard Worker            This sample demonstrates using SyncAdapter to fetch background data for an app that
9*90c8c64dSAndroid Build Coastguard Worker            doesn\'t require a user-visible account type or 2-way synchronization.
10*90c8c64dSAndroid Build Coastguard Worker
11*90c8c64dSAndroid Build Coastguard Worker            \n\nThis sample periodically downloads the feed from the Android Developer Blog and
12*90c8c64dSAndroid Build Coastguard Worker            caches the data in a content provider. At runtime, the cached feed data is displayed
13*90c8c64dSAndroid Build Coastguard Worker            inside a ListView.
14*90c8c64dSAndroid Build Coastguard Worker
15*90c8c64dSAndroid Build Coastguard Worker        </p>
16