Welcome!

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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 11
Registered: ‎07-21-2008
My Device: Not Specified
Accepted Solution

RIM Flags - how to make meaningful

What do the following tags mean and what values are meaningful (can we do something useful with them???)
  • RIM-Library-Flags: reserved for use by RIM
  • RIM-MIDlet-Flags: reserved for use by RIM
Developer
Posts: 120
Registered: ‎07-16-2008
My Device: 9000

Re: RIM Flags - how to make meaningful

RIM-MIDlet-Flags describes the type of application:

0 if the application is a standard midlet

1 if the application should automatically run on startup

2 if the application is a system module

3 if the application is a system module that should automatically run on startup.

 

This should automatically be set in the jad output by rapc based on the arguments used when rapc is called.  

 

If an application is a library you have to use RIM-Library-Flags with a value of 2.

Kurt Zettel | Chief Architect | Metova
www.metova.com
New Developer
Posts: 11
Registered: ‎07-21-2008
My Device: Not Specified

Re: RIM Flags - how to make meaningful

Thanks Kurt.
Developer
Posts: 62
Registered: ‎07-15-2008
My Device: Not Specified

Re: RIM Flags - how to make meaningful

What does it mean if your jad contains the following?

 

RIM-MIDlet-Flags-1

RIM-MIDlet-Flags-2

Developer
Posts: 507
Registered: ‎07-15-2008
My Device: Not Specified

Re: RIM Flags - how to make meaningful

jad file may contain reference to the several (sibling) cod files. Sibling cod files are packed inside on cod file.

And in these cases there are additional lines in jad file for every additional (sibling) cod file.

----------------
if your issue solved set "Solution" mark at the relevant post
New Developer
Posts: 14
Registered: ‎05-22-2008
My Device: Not Specified

Re: RIM Flags - how to make meaningful


rafo wrote:

jad file may contain reference to the several (sibling) cod files. Sibling cod files are packed inside on cod file.

And in these cases there are additional lines in jad file for every additional (sibling) cod file.


I believe this is incorrect.  Sibling cod files just break a single binary into manageable chunks.  They still behave as a single cod.

 

An application can have multiple entry points, but my understanding is that entry points are expressed with MIDlet-1 / MIDlet-2

Highlighted
Developer
Posts: 62
Registered: ‎07-15-2008
My Device: Not Specified

Re: RIM Flags - how to make meaningful

So if you had 2 midlets or modules you would have MIDlet-1 and MIDlet-2 in the jad and would adding RIM-MIDlet-Flags-1: 0 mean that the first midlet/module is a system module and RIM-MIDlet-Flags-2: 3 means that the second midlet/moduleis a system module and auto starts?