Accessing data from device in Android Studio

本小妞迷上赌 提交于 2020-01-17 02:58:07

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!