android
android copied to clipboard
Key/Value Backup & restore settings & local database if a user installs the app on a new phone from a phone < Android 6.0
Low-priority but nice to have.
Tested that already works properly in Android 6.0+: https://developer.android.com/guide/topics/data/testingbackup.html. So a key/value B&R would be nice to have in older versions, but that could be annoying with the database having so much data. Since this works correctly in new Android, let's consider it very low priority.
"Back up data in a database. If you have an SQLite database that you want to restore when the user re-installs your application, you need to build a custom BackupAgent that reads the appropriate data during a backup operation, then create your table and insert the data during a restore operation." -https://developer.android.com/guide/topics/data/keyvaluebackup.html