¡@

Home 

2014/10/16 ¤W¤È 08:25:50

android Programming Glossary: test.m4a

MediaPlayer.setDataSource causes IOException for valid file

http://stackoverflow.com/questions/9657280/mediaplayer-setdatasource-causes-ioexception-for-valid-file

introduced a bug in the media player . It stopped working on some devices Especially my Nexus S 2.3.6 . The file test.m4a 17 775 201 bytes was downloaded by the app. To verify its integrity I copied it to the SD and played it on my PC. No problem.. MediaPlayer is running and working correctly. Below are all my hypothesis. Don't take them too seriously. It is your test.m4a file that is encoded in a format such that MediaPlayer can't decode therefore throwing out an error saying that it can't.. Even my book Beginning Android 4 Game Development depends on OGG files. Here's my proof below. This is the file test.m4a I'm using from your link. I made it so that it runs in a endless loop making it a 100 proof of evidence 03 18 01 05 22.826..