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 Contributor
Posts: 2
Registered: ‎03-31-2011
My Device: Not Specified

supporting multiple screens

I have developed my BB app for screen resolution 320x240, now I need to port it, to support screens of multiple resolutions.

Where do I store images for different resolutions and access them accordingly through code, without making separate build for every screen resolution.

 

If possible please provide me the various screen sizes available for BB, that neep to be ported.

 

Please help!! its urgent!!

 

Developer
Posts: 543
Registered: ‎12-23-2010
My Device: Z10
My Carrier: Airtel

Re: supporting multiple screens

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: supporting multiple screens

More links:

 

http://supportforums.blackberry.com/t5/Java-Development/Best-Practices-for-Developing-Applications-f...

 

I don't actually agree 100% with some of the the things stated here - see the comments for more details.

 

And I recommend (and not just becuase I worte it) the last of the Tutorials' you will find here:

http://supportforums.blackberry.com/t5/Java-Development/Tutorials-for-new-developers-Part-1/m-p/1720...

 

Tutorial 10, is the most comprehensive review of the issues and solutions for this problem that I have seen anywhere.  Its objective is to provide you (ahere possible) with a way for creating your applicatin with one set of assets and have the Blackberry scale these assets to fit the specific device. 

 

Comments welcome.  I am actually updating this specific tutorial very shortly adding in some comments from a graphic designer, so happy to add additional comments too.