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

New Member
Posts: 1
Registered: ‎07-14-2010
My Device: Not Specified

Blackberry Versioning issue

hi all ,

             I m new to blackberry development , I want to ask some question from professionals ;


1: Since there are alot of version of OS are there for blackberry , how to make an app which is compatible to all the OS available for bb , or it is good practice to make indivisual app for any targetted OS .


2: How it is possible to set GUI for bb app which run on all the screen dimensions ; or i have to make new build for all the dimensions avaible ?


Thanks in advance

Posts: 468
Registered: ‎08-07-2009
My Device: Curve, Bold, Storm
My Carrier: Blackberry Developer

Re: Blackberry Versioning issue



You can work on 4.3 JDE. Application made on this are applicable on versions higher than 4.3.
You have to build one application..it will work fine on all dimessions but the you will need to take screenheight and screenwidth dynamic.
screenHeight = Graphics.getScreenHeight(),   //240
screenWidth = Graphics.getScreenWidth();   //260
setX230 = (int)(screenWidth/1.043),    //230
setY20 = (int)(screenHeight/13) ,   //20
feel free to press the kudos button on the left side to thank the user that helped you.
please mark posts as solved if you found a solution.