Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

storage permission android


if (checkSelfPermission(android.Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED) {
    Log.v(TAG,"Permission is granted");
    //File write logic here
    return true;
}

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #storage #permission #android
ADD COMMENT
Topic
Name
5+7 =