You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 24, 2021. It is now read-only.
If android version is greater than 23(6.0) is necessary order the WRITE_EXTERNAL_STORAGE permission for create files, cuz this permission among others must be requested in run time (only version >=23).
Example method:
public boolean isStoragePermissionGranted() { if (Build.VERSION.SDK_INT >= 23) { if (checkSelfPermission(android.Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED) { return true; } else { ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, 1); return false; } } else { return true; } }
If android version is greater than 23(6.0) is necessary order the WRITE_EXTERNAL_STORAGE permission for create files, cuz this permission among others must be requested in run time (only version >=23).
Example method:
Callback :
ty for your code!
The text was updated successfully, but these errors were encountered: