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
If I've not misunderstood you, you're looking for something like:
emanuele@Nabucodonosor:~$ adb shell cd \$EXTERNAL_STORAGE emanuele@Nabucodonosor:~$ adb shell ls \$EXTERNAL_STORAGE emanuele@Nabucodonosor:~$ adb shell echo \$EXTERNAL_STORAGE