Experts,
I have this error when run SQLiteDatabase.openOrCreateDatabase, on API 23 only, ob API 21 is ok.
According to previous question link below, the answer from AB1209 pointed that should grant run time permission. However, this is API 23 new function.
I would like to use the app on both API 21 and 23. I have 2 question:
Isn't there a logic issue? I already grant permission in manifest, what is the good reason to do this on more time at run time? (My understanding is I need run time permission only when I did not grant in manifest during the install)
If I grant permission at run time, will it affect the usage when run on API 21? (I can still use the APP on API 21?)
Thanks.
I already have below permission:
android.permission.WRITE_EXTERNAL_STORAGE"