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 SyncAdapterBack to Android Cookbook Home | Up to Chapter: Data Persistence

Author: Ian Darwin ('idarwin')
In Published Edition? Yes
FormatLanguage: AsciiDoc

Backing your SQLite Data to the Cloud with a SyncAdapter

Problem

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

Solution

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

Discussion

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

See Also