question: private void prepareDirectory ( String path ) { File dir = new File ( path ) ; if ( ! dir . exists ( ) ) { if ( ! dir . mkdirs ( ) ) { Log . e ( TAG , "ERROR: Creation of directory " + path + " failed, check does Android Manifest have permission to write to external storage." ) ; } } else { Log . i ( TAG , "Created directory " + path ) ; } }
target:  Prepare directory on external storage