The Backup/Restore application illustrates a few different approaches that an
application developer can take when integrating with the Android Backup Manager
using the BackupAgent
API
introduced in Android 2.2.
You can find the source code for this sample in your SDK at:
<sdk>/platforms/android-<version>/samples/