boolean function ( ) { return Environment . getExternalStorageState ( ) . equals ( Environment . MEDIA_MOUNTED ) ; }
use environment to check if external storage is writable . concode_field_sep String EXT_STORAGE_PATH_PREFIX concode_elem_sep String EXT_STORAGE_FILES_PATH_SUFFIX concode_elem_sep Object[] DATA_LOCK concode_elem_sep String EXT_STORAGE_CACHE_PATH_SUFFIX concode_field_sep boolean copyFile concode_elem_sep boolean writeStringAsFile concode_elem_sep File getExternalCacheDirAllApiLevels concode_elem_sep File getExternalFilesDirAllApiLevels concode_elem_sep File getExternalDirAllApiLevels concode_elem_sep String readFileAsString concode_elem_sep boolean isExternalStorageReadable concode_elem_sep boolean appendStringToFile