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
Posts: 11
Registered: ‎04-11-2009
My Device: Not Specified
Accepted Solution

Storm compat mode jad settting into .cod files

These settings in the .jad file allow our app to work correctly on the Storm:

RIM-TouchCompatibilityMode: false
RIM-TouchCompatibilityMode-UserChangeable: true

 

However, AppWorld only accepts .cod files.  How do I get these settings into

the build of my .cod files using the Eclipse plugin?

 

Thanks.

 

BlackBerry Development Advisor
Posts: 15,752
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Storm compat mode jad settting into .cod files

You can add the JAD file to your project, add those parameters and then build the COD file.  This builds all of the additional JAD file parameters into the COD file.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 484
Registered: ‎07-17-2008
My Device: Not Specified

Re: Storm compat mode jad settting into .cod files


MSohm wrote:
You can add the JAD file to your project, add those parameters and then build the COD file.  This builds all of the additional JAD file parameters into the COD file.

Does this work with all versions of the JDE?

BlackBerry Development Advisor
Posts: 15,752
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Storm compat mode jad settting into .cod files

Yes it does.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 11
Registered: ‎04-11-2009
My Device: Not Specified

Re: Storm compat mode jad settting into .cod files

 

I have been deleting the .jad file before building for deployment because the .jad file was not getting updated when I updated the version string from within the BlackBerry Eclipse options.  After building I am then appending the Compat Mode options, then deploying to our website.  Your recommendation is certainly doable.  I will just have to remember to edit the version string in 2 places before building for deployment...

 

Thanks.

 

/J

 

New Contributor
Posts: 2
Registered: ‎03-21-2010
My Device: Curve 8900
My Carrier: China Mobile

Re: Storm compat mode jad settting into .cod files

How can I do the same with Elipse plugin ?   I tried to compile the project, and then edit the .jad file,  and add it to the project in the elipse ,  and rebuild.   Seems the Elipse plugin is not taking the jad.

 

BTW,  I tried the JRE,  it's working with JRE.

 

 

Highlighted
New Contributor
Posts: 2
Registered: ‎03-21-2010
My Device: Curve 8900
My Carrier: China Mobile

Re: Storm compat mode jad settting into .cod files

I mean , JDE works , not JRE.