SharedPreferencesBackupHelper for an offline application

217 views Asked by At

I am trying to keep a back up of the sharedPreference for my app that works only offline. I was planning to use SharedPreferencesBackupHelper and BackupAgentHelper API of android but it seems that these api enables the app to back up the shared preference only on cloud and not locally to the device.

I want to know if these apis keep a back up locally also or not. If not , then is there any other way by which I can keep a backup of my sharedPreference file locally on the device so that when the user uninstalls the app, The sharedPreference file remains untouched.

0

There are 0 answers