A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java Micro Edition
JSR 135 (MMAPI) in windows mobile 6
Joined: Nov 19, 2009
Nov 19, 2009 02:39:33
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
I agree. Here's the link:
subject: JSR 135 (MMAPI) in windows mobile 6
MediaException: There is no matching DataSource.locator
download MMAPI 1.0 from sun.com to winXP Home
Doubts about Manager.playTone
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015