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
Developer
Raiden
Posts: 490
Registered: ‎07-16-2008
My Device: Not Specified
Accepted Solution

How to detect compatibility mode on BB 9530

Hi guys'

 

My application works fine when compalibility mode is disabled on BB storm 9530.

But this mode(compalibility mode) is enabled after downloaded application.

 

I want to detect it such as compalibility mode is disabled or enabled.

 

How to detect it ?

 

Thanks guys'

Please use plain text.
Retired
PBernhardt
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: How to detect compatibility mode on BB 9530

You can detect whether your Application is in compatibility mode or not by checking

 

yourApp.isInTouchCompatibilityMode()

 

Where "yourApp" is an instance of Application or UiApplication.

 

You can also ensure your app starts in native mode by editing the .jad file, as shown in this KB article: http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800719/What_Is...

 

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Please use plain text.
Developer
jonberry
Posts: 484
Registered: ‎07-17-2008
My Device: Not Specified

Re: How to detect compatibility mode on BB 9530

That method was added in 4.7 so I'm not sure how helpful it's going to be....

 

Jon

Please use plain text.
Developer
Raiden
Posts: 490
Registered: ‎07-16-2008
My Device: Not Specified

Re: How to detect compatibility mode on BB 9530

Thanks guys'

 

I got it'

Please use plain text.
Developer
Raiden
Posts: 490
Registered: ‎07-16-2008
My Device: Not Specified

Re: How to detect compatibility mode on BB 9530

Hi guys.

 

I have a question. Is it possible to disable compatibility mode by the default or when install the application ?

 

Thanks.

Please use plain text.
Administrator
MSohm
Posts: 14,528
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: How to detect compatibility mode on BB 9530

This can be controlled when installing the application over the air using the BlackBerry Browser.  Please see this link for more information.

 

What Is - Compatibility mode on touch screen BlackBerry smartphones
Article Number: DB-00710

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800719/What_Is...

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