One of the most useful security functions provided by Google for the Android platform is the cloud based backup and restore service for user data generated by our applications.
This functionality will come into play automatically when a user reinstalls or updates a backup-enabled application or when they get a new phone or restore factory settings for some reason.
As a developer you will require a Backup Service Key, which you receive when registering for backup service from Google. If you have not already done so you can register at http://code.google.com/android/backup/signup.html.
This demonstration can be applied to any application that requires backing up, so open any application you like, ideally one with some significant data such as shared preferences and/or internal files.