Register / Login
Java Micro Edition
JSR 135 (MMAPI) in windows mobile 6
posted 6 years ago
did anyone know how to activate MMAPI in windows mobile 6.5?
I use System.getProperty("microedition.media.version") and then I got value "1.2", so my windows mobile 6.5 support MMAPI 1.2.
But when I want to use MIDIControl which in MMAPI, I always got the null value and failed to use this controller,
Here is my codes:
midiPlayer =Manager.createPlayer(Manager.MIDI_DEVICE_LOCATOR); midiPlayer.prefetch(); mControl =(MIDIControl) midiPlayer.getControl("javax.microedition.media.control.MIDIControl");
mControl is always null
Can anyone give me some hints to use MIDIControl in Windows mible 6.5 ? or I can't activate it in windows phone??
Thanks in advance
MediaException: There is no matching DataSource.locator
download MMAPI 1.0 from sun.com to winXP Home
Doubts about Manager.playTone