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

Reply
New Developer
JesseD
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
Please use plain text.
Developer
kzettel
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
Please use plain text.
New Developer
JesseD
Posts: 11
Registered: ‎07-21-2008
My Device: Not Specified

Re: RIM Flags - how to make meaningful

Thanks Kurt.
Please use plain text.
Developer
ianstrain
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

Please use plain text.
Developer
rafo
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
Please use plain text.
New Developer
ozarka
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

Please use plain text.
Developer
ianstrain
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?

 

Please use plain text.