Has anyone gotten a XMF media file ( 
http://en.wikipedia.org/wiki/Extensible_Music_Format_(XMF)
) to play on android using the MediaPlayer? Supposedly XMF support was
added to Android in release m5-rc14 using the sonivox libraries but I
can't seem to get them to play. Thank you for any help or insight.

<code>
MediaPlayer mp = new MediaPlayer();

try {
        mp.setDataSource("/sdcard/Bloom.xmf");
        mp.prepare();
} catch (IllegalArgumentException e) {
        Log.e(getClass().getName(), "IllegalStateException:" + e.toString(),
e);
} catch (IOException e) {
        Log.e(getClass().getName(), "IOException", e);
}
mp.start();

</code>

LogCat:

Error: MidiFile: EAS_OpenFile failed [-17]
Error: MediaPlayer: Unable to to create media player
Error: hostname: IOException
...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to