Posts

Showing posts with the label Android - Data Backup Tutorial

Android - Data Backup Tutorial

Image
Android allows you to backup your application data to remote "cloud" storage, in order to provide a restore point for the application data and settings. You can only backup your application data. In order to access the other applications data, you need to root your phone. In order to make a data backup application, you need to register your application with google backup service. This has been explained in the example. After registering , you have to specify its key in the AndroidManifest.XML <application android:allowBackup = "true" android:backupAgent = "MyBackupPlace" > <meta-data android:name = "com.google.android.backup.api_key" android:value = "AEdPqrEAAAAIErlxFByGgNz2ywBeQb6TsmLpp5Ksh1PW-ZSexg" /> </application> Android provides  BackUpAgentHelper  class to handle all the operations of data backup. In order to use this class , you have to extend your class with it. Its syntax...