How do I check if a directory exist on the sdcard in android?
File dir = new File(Environment.getExternalStorageDirectory() + "/mydirectory"); if(dir.exists() && dir.isDirectory()) { // do something here }