解决方案: adb shell echo $EXTERNAL_STORAGE
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 i.e:
Firstly I invented following solution:
But the problem is that I have two samsung devices EDIT: Found the solution:
|
原文连接:http://stackoverflow.com/questions/9374628/get-sdcard-directory-by-adb