request the write permission for external storage . concode_field_sep int PERMISSIONS_WRITE_EXTERNAL_STORAGE concode_field_sep boolean shouldShowRequestPermissionRationale concode_elem_sep boolean checkSelfPermission
void function ( Activity arg0 ) { ActivityCompat . requestPermissions ( arg0 , new String [ ] { Manifest . permission . WRITE_EXTERNAL_STORAGE } , PERMISSIONS_WRITE_EXTERNAL_STORAGE ) ; }