Logo Icon Logo
A Crowd-sourced Cookbook on Writing Great Android® Apps
GitHub logo Twitter logo OReilly Book Cover Art

Backing your SQLite Data to the Cloud with a SyncAdapter

In Chapter: Data Persistence
Author: Ian Darwin ('idarwin')
Published? true
FormatLanguage: AsciiDoc


You want your SQLite or Content Provider data to be bi-directionally synchronized with a database running on a server


Use a SyncAdapter, which lets you synchronize in both directions, providing the infrastructure to run a "merge" algorithm of your own devising.


This recipe is in preparation and will be added here soon.