1<HTML> 2<BODY> 3<p>Contains the backup and restore functionality available to 4applications. If a user wipes the data on their device or upgrades to a new Android-powered 5device, all applications that have enabled backup can restore the user's previous data when the 6application is reinstalled.</p> 7 8<p>For more information, see the <a 9href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> guide.</p> 10{@more} 11 12<p>All backup and restore operations are controlled by the {@link 13android.app.backup.BackupManager}. Each application that would 14like to enable backup and preserve its data on remote storage must implement a 15backup agent. A backup agent can be built by extending either {@link android.app.backup.BackupAgent} 16or {@link android.app.backup.BackupAgentHelper}. The {@link 17android.app.backup.BackupAgentHelper} class provides a wrapper around {@link 18android.app.backup.BackupAgent} that simplifies the procedures to implement a backup agent by 19employing backup helpers such as {@link android.app.backup.SharedPreferencesBackupHelper} and 20{@link android.app.backup.FileBackupHelper}.</p> 21 22<p>The backup APIs let applications:</p> 23<ul> 24 <li>Perform backup of arbitrary data to remote storage</li> 25 <li>Easily perform backup of {@link android.content.SharedPreferences} and files</li> 26 <li>Restore the data saved to remote storage</li> 27</ul> 28 29</BODY> 30</HTML> 31