Since: API Level 8
package

android.app.backup

Classes | Description

Contains the backup and restore functionality available to applications. If a user wipes the data on their device or upgrades to a new Android-powered device, all applications that have enabled backup will restore the user's previous data.

For a detailed guide to using the backup APIs, see the Data Backup developer guide.

more...

Interfaces

BackupHelperDefines the calling interface that BackupAgentHelper uses when dispatching backup and restore operations to the installed helpers. 

Classes

BackupAgentProvides the central interface between an application and Android's data backup infrastructure. 
BackupAgentHelperA convenient BackupAgent wrapper class that automatically manages heterogeneous data sets within the backup data, each identified by a unique key prefix. 
BackupDataInputProvides the structured interface through which a BackupAgent reads information from the backup data set, via its onRestore() method. 
BackupDataInputStreamProvides an InputStream-like interface for accessing an entity's data during a restore operation. 
BackupDataOutputProvides the structured interface through which a BackupAgent commits information to the backup data set, via its onBackup() method. 
BackupManagerThe interface through which an application interacts with the Android backup service to request backup and restore operations. 
FileBackupHelperA helper class that can be used in conjunction with BackupAgentHelper to manage the backup of a set of files. 
RestoreObserverCallback class for receiving progress reports during a restore operation. 
SharedPreferencesBackupHelperA helper class that can be used in conjunction with BackupAgentHelper to manage the backup of SharedPreferences