Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
wonkware
Posts: 11
Registered: 04-11-2009
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.

 

Please use plain text.
Administrator
MSohm
Posts: 11,465
Registered: 07-09-2008
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.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Developer
jonberry
Posts: 470
Registered: 07-17-2008

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?

Please use plain text.
Administrator
MSohm
Posts: 11,465
Registered: 07-09-2008
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.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
wonkware
Posts: 11
Registered: 04-11-2009

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

 

Please use plain text.
New Contributor
e12009
Posts: 2
Registered: 03-21-2010
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.

 

 

Please use plain text.
New Contributor
e12009
Posts: 2
Registered: 03-21-2010
My Carrier: China Mobile

Re: Storm compat mode jad settting into .cod files

I mean , JDE works , not JRE.

 

Please use plain text.