Do you know which version of MMAPI you are using?
J2ME wireless toolkit 2.2 comes with the promise of a reference implementation of MMAPI 1.1. However, the actual version distributed with the toolkit is 1.0 and not 1.1.
So where is the actual reference implementation (RI) of the Mobile Media API (MMAPI) 1.1? As far as I can see, there is no such implementation available publicly.
Those in the know will point out that MMAPI 1.1 is only a maintainence release over 1.0. It includes several documentation changes and only a couple of actual API changes. The change log is available here.
The release notes for the toolkit say that support is provided for MMAPI 1.1. This is not true. The mmapi.jar in the lib folder contains 1.0 implementation. The API docs are also 1.0 docs, even though the release notes say that they are 1.1.
How am I sure that the supplied mmapi.jar is 1.0 and not 1.1? In 1.1, RecordControl's setRecordStream() method should throw a SecurityException. Try it in code and see (or ahem, just decompile).
Anybody know what's happening here?