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

Posts: 41
Registered: ‎11-18-2012
My Device: blackberry sms message making
My Carrier: 9951111450

how to set Ui to different mobile screens?

i have created user interface(ui) in blackberry 9900 and it fixed perfectly to the screen but when i run my ui app in different smartphones like 9620,,etc the ui is not fixed correctly as it is fixed in 9900..

SO i want to know how fix my ui in different mobile screens and how can i do so..



 please help me in this as am new to blackberry development...

Posts: 151
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel

Re: how to set Ui to different mobile screens?

you have to first check your screen size in your app and after that resize UI as per the different  screen size.

Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: how to set Ui to different mobile screens?

It is also important that you check the screen resolution, so that you can resize things to look the same size.  320x240 is the screen size, not its resolution.  Resolution is the pixel density, usually expressed in dots per inch. 


One good trick is to use points for the font size rather than pixels - fonts specified in points resize automatically on device.