From 826c9f7773188c2a7f48d5b2d1ae4612ec2bbb49 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Fri, 14 May 2010 14:17:04 -0700 Subject: [PATCH] docs: fix broken link, reduce API info about backup and point to dev guide Change-Id: If6470f1753917819e2f73fbba8947f082a26f720 --- docs/html/sdk/android-2.2.jd | 22 +++++----------------- 1 file 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.

Backup manager

-

The platform now provides a generalized backup manager facility that +

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.

- -

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 Data Backup.

+in an atomic manner. For more information, see Data Backup.

Graphics

-- 2.11.0