Wish Registering/Using Android Backup Service - Keeping data between resets

shaffnert03

Member
Licensed User
Longtime User
I recently discovered that Google now provides automatic backup of app data to allow it to persist between resets and phone upgrades. Developers must opt into this though, and my searching so far doesn't show how to do it in B4A.

The main website for it (http://developer.android.com/google/backup/index.html) makes it sound pretty straightforward with the developer registering and adding a few lines to the manifest. To execute it though the developer must set up a backup agent and alert it to data changes (http://developer.android.com/guide/topics/data/backup.html). Is there a way to do this in B4A? It would be a big help to my app users if they could keep all their data and settings between resets and phone changes.

I did find one mention of this in the forum at https://www.b4x.com/android/forum/threads/backupagenthelper-class-in-basic4android.42364/#content but it didn't provide any answers and was old.
 
Top