Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

BlackBerry wireless devices support MIDlet suites

by Retired ‎02-16-2010 03:32 PM - edited ‎09-16-2010 02:56 PM (838 Views)



This article applies to the following:

  • BlackBerry® wireless devices based on Java™
  • Java™ 2 Platform, Micro Edition (J2ME™)
  • MIDlet Suites



A MIDlet suite consists of one or more MIDlet applications that are contained in a single JAR file. The MIDlets can share resources and classes.


In the BlackBerry platform, a MIDlet must be contained in a single COD file. The class files for a MIDlet suite cannot span multiple projects.


To support a MIDlet suite, complete the following tasks:

  • Create a main project in the IDE for all class files in the MIDlet suite. In project properties, set the project type to MIDlet.
  • Create a separate project for each MIDlet in the MIDlet suite. In project properties, set the project type to Alternate MIDlet Entry Point. Specify the fully qualified name of the MIDlet class.

The alternate entry point project should not contain any files other than an application icon. When applications are built and run, each alternate entry point appears on the device Home screen as a separate application, but it actually starts the MIDlet suite application for which it is an entry point.


Users Online
Currently online: 22 members 832 guests
Please welcome our newest community members: