I am making an application, which pulls files(Saved by android app) from the device sdcard by adb.
The problem is that different devices, have various sdcard directories
Its better to use getExternalStorageDirectory() instead of System.getenv("EXTERNAL_STORAGE") This will give you external storage directory irrespective of device.