First you can get a directory path like this ..
File storageDir = new File("/mnt/");
if (storageDir.isDirectory()) {
String[] dirList = storageDir.list();
//check here
}
Or
// Internal Storage
new File("/mnt/external_sd/")
// External Storage
new File("/mnt/extSdCard/")