问题
it's my first question here. I searched a lot on the site but didn't find any answer for my question.
Basically, I want to load a directory containing jpeg and mp3 in the tablet and retrieve the path from these files and put them in a SQLite database. I have no trouble using the database but I don't know how to retrieve the paths of the files or even to verify the existence of the directory. Any hint on how to access these files without putting them in the application drawable and sound folder would be appreciated. Thanks!
回答1:
Goto the Android Device Monitor in the android studio and new poup window will open with the devices list in the left pane and in the right pan select the File Explorer Tab and that's it
来源:https://stackoverflow.com/questions/29437130/accessing-data-from-device-in-android-studio