Open trife opened 4 years ago
Utilize the data folder for sample files, etc. similar to OneKK
Currently the app uses getExternalStorage() to create a 'Verify' directory. When the app starts it copies sample files to this directory. You will need to replace getExternalStorage() with context.getExternalFilesDir or something alike using SAF. Read the context documentation which has examples and more explanations: https://developer.android.com/reference/android/content/Context#getExternalFilesDir(java.lang.String)
https://developer.android.com/preview/privacy/storage https://stackoverflow.com/questions/58379543/cant-create-directory-in-android-10 https://stackoverflow.com/questions/57116335/environment-getexternalstoragedirectory-deprecated-in-api-level-29-java