diff options
author | Scott Main <smain@google.com> | 2010-05-19 19:17:47 -0700 |
---|---|---|
committer | Scott Main <smain@google.com> | 2010-05-19 19:17:47 -0700 |
commit | 371557fabde31fece172749783981c7835ba4053 (patch) | |
tree | c10a3bb712e99ceb078bd4b7d81b9e81389519a4 /docs/html/guide/topics/data | |
parent | 68728cb3b44aba16abc298a37f6110ed00a781dd (diff) | |
download | frameworks_base-371557fabde31fece172749783981c7835ba4053.zip frameworks_base-371557fabde31fece172749783981c7835ba4053.tar.gz frameworks_base-371557fabde31fece172749783981c7835ba4053.tar.bz2 |
doc: add developing and testing info to backup guide
Change-Id: I1e9c9f412033ecf517ea566ce70686f42e7c568e
Diffstat (limited to 'docs/html/guide/topics/data')
-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> + |