setDataSource failed 0x8000000

view full story

http://stackoverflow.com – I am receiving an error (setDataSource failed 0x8000000) when using MediaMetadataRetriever to retrieve the artist and title of an mp3 file, but I cannot understand why. When running on my emulator, it works perfectly, but crashes when running on my Samsung S4. I know the directory is correct (/storage/extSdCard/Music/) because I can load file names without any problem whatsoever. Can someone please explain why this isn't working? if (songs.size() != 0){ for (int x = 0; x < songs.size(); x++){ MediaMetadataRetriever mmr = new MediaMetadataRetriever(); (HowTos)