Debian Codegraph @

core/java/android/app/backup/package.html

raw symbols SCIP
1 <HTML>
2 <BODY>
3 <p>Contains the backup and restore functionality available to
4 applications. If a user wipes the data on their device or upgrades to a new Android-powered
5 device, all applications that have enabled backup can restore the user's previous data when the
6 application is reinstalled.</p>
7
8 <p>For more information, see the <a
9 href="{@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
13 android.app.backup.BackupManager}. Each application that would
14 like to enable backup and preserve its data on remote storage must implement a
15 backup agent. A backup agent can be built by extending either {@link android.app.backup.BackupAgent}
16 or {@link android.app.backup.BackupAgentHelper}. The {@link
17 android.app.backup.BackupAgentHelper} class provides a wrapper around {@link
18 android.app.backup.BackupAgent} that simplifies the procedures to implement a backup agent by
19 employing 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>