Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67d8dce3 authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

am fa966de2: am 864c3d1b: am 80259899: Merge "doc: add developing and testing...

am fa966de2: am 864c3d1b: am 80259899: Merge "doc: add developing and testing info to backup guide" into froyo
parents f9a1ebe5 fa966de2
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -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) &mdash; 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>