diff options
author | Scott Main <smain@google.com> | 2010-05-19 19:29:19 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-05-19 19:29:19 -0700 |
commit | 8025989957e5b6ad51e99a69a0e1e753e40cba67 (patch) | |
tree | e2a87c8268d563930f196946b8eeee0ff49455a6 /docs | |
parent | 44108b54543c87e2c46a6d5d4339b3c4e06373de (diff) | |
parent | 371557fabde31fece172749783981c7835ba4053 (diff) | |
download | frameworks_base-8025989957e5b6ad51e99a69a0e1e753e40cba67.zip frameworks_base-8025989957e5b6ad51e99a69a0e1e753e40cba67.tar.gz frameworks_base-8025989957e5b6ad51e99a69a0e1e753e40cba67.tar.bz2 |
Merge "doc: add developing and testing info to backup guide" into froyo
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/guide/topics/data/backup.jd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/html/guide/topics/data/backup.jd b/docs/html/guide/topics/data/backup.jd index 98f7a4f..718e391 100644 --- a/docs/html/guide/topics/data/backup.jd +++ b/docs/html/guide/topics/data/backup.jd @@ -31,6 +31,7 @@ page.title=Data Backup <li><a href="#RestoreVersion">Checking the Restore Data Version</a></li> <li><a href="#RequestingBackup">Requesting Backup</a></li> <li><a href="#RequestingRestore">Requesting Restore</a></li> + <li><a href="#DevelopingTestings">Developing and Testing Your Backup Agent</a></li> </ol> <h2>Key classes</h2> @@ -759,3 +760,22 @@ implementation, passing the data from the current set of backup data.</p> restore operation with the <a href="{@docRoot}guide/developing/tools/bmgr.html">bmgr tool</a>.</p> + +<h2 id="DevelopingTestings">Developing and Testing Your Backup Agent</h2> + +<p>To develop and test your backup agent:</p> +<ul> + <li>Set your build target to a platform using API Level 8 or higher</li> + <li>Run your application on a suitable Android system image: + <ul> + <li>If using the emulator, create and use an AVD with the Google APIs add-on (API Level +8) — the Google APIs add-on is available as an SDK component through the SDK and AVD +Manager</li> + <li>If using a device, the device must be running Android 2.2 or greater and have Android +Market built in</li> + </ul> + </li> + <li>Test your backup agent using the <a href="{@docRoot}guide/developing/tools/bmgr.html">{@code +bmgr}</a> tool to initiate backup and restore operations</li> +</ul> + |