How to access /storage/emulated/0/

前端 未结 16 2272
被撕碎了的回忆
被撕碎了的回忆 2020-12-13 01:53

I have written a code to record audio and save it to below file location.

private String getFilename() {
    String          


        
16条回答
  •  Happy的楠姐
    2020-12-13 02:52

    Plug in your device and run adb shell which will get you a command shell on your device. You don't have permission to read /storage/emulated/ but since you know it's in subdirectory 0 just go cd /storage/emulated/0 and you will be able to look around and interact as aspected.

    Note: you can use adb wirelessly as well

提交回复
热议问题