Saving A Sqlite Database In Android Tablet Internal Memory (api 23)
I am an abject novice in Android app development. However, my current project requires me to make an app that records field observations (am a research scientist), save them to a S
Solution 1:
It's not complicated to achieve the pemission's flow. Here is a class that I created for help. You have to extend your MainActivity from this, and then you can call:
verifyStoragePermissions(newRunnable() {
@Overridepublicvoidrun() {
//backup your db here...
}
});
It works for all Android versions using android support library.
Post a Comment for "Saving A Sqlite Database In Android Tablet Internal Memory (api 23)"