I need to run adb command to go to sdcard folder. I tried:
Runtime.getRuntime().exec("cd /sdcard");
But got error at runtime:
Cannot run program "cd": error=13, Permission denied
java.io.IOException: Cannot run program "cd": error=13, Permission denied
Is there anyway to run the adb command programmatically without root the device?
(I have already checked this post, but it is for rooted device.)