RTFM.
The "JAD" file that accompanies the JAR file contains at
least one "MIDlet-<n>" entry which specifies the name, initial class and
optional icon for a MIDlet within a MIDlet suite. This information is
usually repeated in the manifest of the JAR file.
In the case of EclipseME, you specify this using the
"MIDlets" tab of the JAD editor. If you created the MIDlet using the
EclipseME wizard (New / Other / J2ME / J2ME Midlet) this entry can
be created for you automatically by making sure the "Add to Application
Descriptor" box is checked.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miguel Menchu
Sent: Monday, April 03, 2006 9:57 PM
To: [email protected]
Subject: [Eclipseme-users] midlet's main class
within the midlet suite that implement the startApp() "main method"? Is there any field in the .jad file to indicate which class we're
interested in having as our "main class"? When packing a jar file in Eclipse one specifies which class is the "main" class... but
when packing my .jad & .jar j2me files EclipseME does not ask me which one I want as my entry point to my app. Thanks.
- Miguel.
