diff options
| author | 2010-05-14 14:28:11 -0700 | |
|---|---|---|
| committer | 2010-05-14 14:28:11 -0700 | |
| commit | b73179c7c01edc21876777d95b7a08692d48e11c (patch) | |
| tree | 00ef7b90836c669203dabf1f6293056dc1f7117f | |
| parent | 9d6bdc5350402bae90ff4cee70f153addc3e338b (diff) | |
| parent | b42bc06675174d58dabc5efc032cfc43dac10393 (diff) | |
am b42bc066: am fb580943: am 826c9f77: docs: fix broken link, reduce API info about backup and point to dev guide
| -rw-r--r-- | docs/html/sdk/android-2.2.jd | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/docs/html/sdk/android-2.2.jd b/docs/html/sdk/android-2.2.jd index 603139e497ab..7e625166533f 100644 --- a/docs/html/sdk/android-2.2.jd +++ b/docs/html/sdk/android-2.2.jd @@ -320,26 +320,14 @@ document. </p> <h4 id="backup-manager">Backup manager</h4> -<p>The platform now provides a generalized backup manager facility that +<p>The platform now provides a generalized backup service that applications can use to backup and restore user data, to ensure that users can maintain their data when switching devices or reinstalling the application. The -backup manager handles the work of transporting the application data to and from -the backup storage area in the cloud. The backup manager can store any type of +Backup Manager handles the work of transporting the application data to and from +the backup storage area in the cloud. The Backup Manager can store any type of data, from arbitrary data to files, and manages backup and restore operations -in an atomic manner. </p> - -<p>Any application can use the backup manager to save and restore data. To do -so, the application instantiates a {@link android.app.backup.BackupManager} and -uses its methods to trigger a new backup or restore operation. The application -must also create a subclass of {@link android.app.backup.BackupAgent} and -implement its methods to handle calls from the backup manager to get data for -backup and provide data to restore -({@link android.app.backup.BackupAgent#onBackup(android.os.ParcelFileDescriptor, android.app.backup.BackupDataOutput, android.os.ParcelFileDescriptor) onBackup()} -and {@link android.app.backup.BackupAgent#onRestore(android.app.backup.BackupDataInput, int, android.os.ParcelFileDescriptor) onRestore()}). -A simple implementation of a BackupAgent useful for backing up preferences -and files is available by using {@link android.app.backup.BackupAgentHelper}. -For more information, see <a -href="{@docRoot}guide/topics/topics/data/backup.html">Data Backup</a>.</p> +in an atomic manner. For more information, see <a +href="{@docRoot}guide/topics/data/backup.html">Data Backup</a>.</p> <h4>Graphics</h4> |