I'm trying to access the external storage directory path and displaying it in the Toast, just to see what it is.
For the code
String path = Environment.getExternalStorageDirectory().toString();
the path shown is "/storage/emulated/0"
But when i change the code to
String path = Environment.getExternalStorageDirectory().getAbsloutePath().toString();
My application crashes.. Why is it so?