Skip to content

Commit 8025989

Browse files
scottamainAndroid (Google) Code Review
authored andcommitted
Merge "doc: add developing and testing info to backup guide" into froyo
2 parents 44108b5 + 371557f commit 8025989

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/html/guide/topics/data/backup.jd

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ page.title=Data Backup
3131
<li><a href="#RestoreVersion">Checking the Restore Data Version</a></li>
3232
<li><a href="#RequestingBackup">Requesting Backup</a></li>
3333
<li><a href="#RequestingRestore">Requesting Restore</a></li>
34+
<li><a href="#DevelopingTestings">Developing and Testing Your Backup Agent</a></li>
3435
</ol>
3536

3637
<h2>Key classes</h2>
@@ -759,3 +760,22 @@ implementation, passing the data from the current set of backup data.</p>
759760
restore operation with the <a href="{@docRoot}guide/developing/tools/bmgr.html">bmgr
760761
tool</a>.</p>
761762

763+
764+
<h2 id="DevelopingTestings">Developing and Testing Your Backup Agent</h2>
765+
766+
<p>To develop and test your backup agent:</p>
767+
<ul>
768+
<li>Set your build target to a platform using API Level 8 or higher</li>
769+
<li>Run your application on a suitable Android system image:
770+
<ul>
771+
<li>If using the emulator, create and use an AVD with the Google APIs add-on (API Level
772+
8) &mdash; the Google APIs add-on is available as an SDK component through the SDK and AVD
773+
Manager</li>
774+
<li>If using a device, the device must be running Android 2.2 or greater and have Android
775+
Market built in</li>
776+
</ul>
777+
</li>
778+
<li>Test your backup agent using the <a href="{@docRoot}guide/developing/tools/bmgr.html">{@code
779+
bmgr}</a> tool to initiate backup and restore operations</li>
780+
</ul>
781+

0 commit comments

Comments
 (0)