title: Reading all files in the Android file system
body: <p>I am writing an Android mediaPlayer app, so I want to scan through all files on the entire phone (i.e. sdcard and phone memory). I can read from the sdcard, but not the root of it. That is, I can just read from the path <code>/sdcard/[folder]/</code> and it works fine, but if I go to <code>/sdcard/</code> the app crashes. How can I access all the files on the sdcard, as well as the files on the phone itself?</p>