File function ( ) { File loc0 = new File ( Environment . getExternalStorageDirectory ( ) , getApplicationNameNoSpaces ( ) ) ; if ( ! loc0 . exists ( ) ) { if ( ! loc0 . mkdirs ( ) ) { return null ; } } return loc0 ; }
create / check that the application directory is available . this is done based off your application 's name saved in string.app _ name @see getapplicationnamenospaces concode_field_sep String FILE_NAME_FORMAT concode_elem_sep DateFormat dateFormat concode_elem_sep String DEFAULT_DATE_FORMAT concode_elem_sep Context context concode_elem_sep String IMAGE_FILENAME_PREFIX concode_elem_sep String VIDEO_FILENAME_PREFIX concode_field_sep Uri getOutputMediaFileUri concode_elem_sep Uri getHiddenOutputMediaFileUri concode_elem_sep File getMediaFile concode_elem_sep boolean checkSdCardIsInReadAndWriteState concode_elem_sep File getHiddenOutputMediaFile concode_elem_sep File getHiddenAppExternalDirectory concode_elem_sep String getFileName concode_elem_sep String getApplicationNameNoSpaces concode_elem_sep File getOutputMediaFile