getExternalStorageDirectory()
return SD card path on my phone. (Huawei Y320 - android 4.2.2).
now, how to get path Pho
try this code to get all external storage path for all devices
File[] f = ContextCompat.getExternalFilesDirs(getApplicationContext(),null);
for (int i=0;i< f.length;i++)
{
String path = f[i].getParent().replace("/Android/data/","").replace(getPackageName(),"");
Log.d("DIRS",path); //sdcard and internal and usb
}