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
New Developer
Posts: 3
Registered: ‎05-28-2009
My Device: Not Specified

How to vary GUI for various dimensions

Being new to BlackBerry development I want to know as to how an application can be developed for the various devices with different dimensions. Is there a way in which the APIs automatically take care of adjusting to the screen dimensions; while developing applications for Symbian S60 devices they had a way to provide SVG graphics files - which scaled as per screen dimensions.

It would be of great help if anyone can give me some guidance on this.
Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to vary GUI for various dimensions

there is SVG support on the blackberry.

i usually check the display size and load the icons accordingly. by using EncodedImage.scaleimage32 you can scale images, if you scale them by half (e.g.) they still look good.
----------------------------------------------------------
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.
@SimonHain on twitter
Developer
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: How to vary GUI for various dimensions

I'm not a GUI person but generally the hard-core art/typography people don't like scaling from what I've observed. Downloading art work

based on dimensions and other criteria as a post-install step is probably the most versatile solution if you have a server

available.