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

Regular Contributor
Posts: 70
Registered: ‎12-19-2011
My Device: Bold 9780
My Carrier: Airtel

Application for the multiple screen size mobile

hi all

        I am developing an application on blackberry.I am facing a problem how to make application which can run on any screen size mobile.Now i am putting image of different sizes and taking it on run time.but in this way i have to put too many images in the res folder.

Any solution.

Posts: 110
Registered: ‎10-22-2009
My Device: 9700
My Carrier: ChinaMobile

Re: Application for the multiple screen size mobile

use Display.getwidth and getheight to get the width and height of screen.

then resize ur bitmap to fit screen.

Best Regards,