Commit Graph

3 Commits

Author SHA1 Message Date
Dan Egnor
27626c03e4 Add API key to BackupRestore sample code.
Change-Id: If80cbceffc213fdc6059fe22bf0e24520fba5f2d
Bug: 2735063
2010-06-03 13:38:57 -07:00
Christopher Tate
41c42a972c Add Backup/Restore sample to the SDK docs
Part of bug #2545514

Change-Id: I9085ebfdce3552ddab602eec8d40de67b219a834
2010-04-07 13:41:35 -07:00
Christopher Tate
1c0a20aeeb Backup/Restore sample application
A very simple application: one activity, with a few bits of persistent data that
are updated live by the activity.  To that are added a few alternative agent
implementations, to illustrate various approaches and tradeoffs when implementing
a backup/restore agent.  In particular, there are example agents that do everything
"by hand," either record-by-record or by directly backing up the app's entire
persistent data file; plus an example agent that illustrates how very easy it
is to implement the latter using the OS-provided helpers.

Part of bug #2545514

Change-Id: Iaca33a5113406360c23d6e2e59eb012f9f1e9400
2010-04-06 14:16:26 -07:00