Android - API 23 Unable to get USB/SD Card Directory
问题 I used to get all the files in USB/SD Card from "/storage/external_storage" like so File = new File("/storage/external_storage"); file.listFiles() and show the files and folders in my own Fragment and it worked great until API 23. Where now I am unable to get the file list from the path. I know in Android Marshmallow (23) there were permission changes and some USB Connection behavior changes. If your app supports user interactions with the device over a USB port, take into consideration that