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

Web and WebWorks Development

Posts: 14
Registered: ‎04-26-2012
My Device: storm2 9550
My Carrier: software developer

Auto Disable rim:navigation mode in config.xml

I'm through with building my webworks app but i observed that if i set the rim:navigation mode="focus" in config.xml its kinda jumpy and messy when scrolloing in bb os5 and os6 but cool in os 7 and bb10.  and when i remove the rim:navigation mode="focus" the scrolling is better in os5 and os6


I have a script to detect the os of the user's phone using javascript but what i want is, when the app detects the user's phone is bb os5 or os6, it should auto disable the rim:navigation mode="focus"



Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: Auto Disable rim:navigation mode in config.xml

You can not programmatically alter config.xml settings at runtime. You will need to build two separate versions of your application and distribute one for BBOS5/6 and another for BBOS7 if you want to provide separate configs to each.

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.