• No replies
237 Posts

Pinned topic congrats on new version of J9 6.1 <b>+ 1 QUESTION</b>

‏2007-01-02T12:38:59Z |
Firstly, I would like to express my gratitude to the fabulous new version of J9.
IBM has resolved some very important bugs, such as:
Threading, disappearing of icons, but mostly the: pauseapp() & startapp() methods!!!

As for my question, I hope that someone can answer it.
Lets say that youve got a midlet-suite that contains 2 midlets e.g. A & B in one JAR file. So lets suppose that the corresponding JAD file looks like this:

MIDlet-1: A, A.png, A
MIDlet-2: B, B.png, B

MIDlet-Jar-Size: 131747
MIDlet-Name: A
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-2.0
If I would like to launch this midlet-suite from a console, this would be possible by typing:

255#"\J9\MIDP20\bin\j9midp20.exe" -classpath "\J9\examples\A.jar" "-Xbootclasspath:\J9\MIDP20\lib\jclMidp20\jclMidp20.jxe" javax.microedition.lcdui.AppManager "\J9\examples\A.jad"

And a screen listing the A & B midlets will be appear. Then from there you can choose manually which midlet you would like to launch. My question is, how is it possible to launch directly (with just one console-command) one of those midlets? E.g just A or B ?

Thank you in advanced.

Georgousopoulos Christos