S shaffnert03 Member Licensed User Longtime User Jan 11, 2016 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Jan 12, 2016 #2 I don't think that there is any library available that implements this feature. I will move it to the wishlist forum.
I don't think that there is any library available that implements this feature. I will move it to the wishlist forum.
B brunnlechner Member Licensed User Longtime User Apr 28, 2017 #3 I would also be interested in the auto backup function.