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: 41
Registered: ‎05-24-2009
My Device: Storm 9530

Handset Resolutions

Hey guys,

 

Just wondering if anyone knows each handset resolution off hand? Mostly the width is important to me, but both height and width would be pretty excellent.

 

Thanks,

 

jlgosse

BlackBerry Mobile Software Developer
http://www.mobilitea.com/blog/
Developer
Posts: 984
Registered: ‎02-10-2009
My Device: Not Specified

Re: Handset Resolutions

Try with:

 

Display.getWidth(); // for width Display.getHeight();//for height

 

Regards

Bikas

 

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Handset Resolutions

Curve: 240x320

Pearl: 320x240

Storm: 480x360 (Portrait mode)

Bold/Javalin: 320x480

 

New Developer
Posts: 41
Registered: ‎05-24-2009
My Device: Storm 9530

Re: Handset Resolutions

Are all of those height * width?
BlackBerry Mobile Software Developer
http://www.mobilitea.com/blog/
Developer
Posts: 984
Registered: ‎02-10-2009
My Device: Not Specified

Re: Handset Resolutions

They are height * width.

 

 

Developer
Posts: 132
Registered: ‎02-11-2009
My Device: Not Specified

Re: Handset Resolutions

I choose to see it this way:

 

RIM's old standard resolution was 320x240.

RIM's new standard resolution is 480x360 (same ratio as old standard resolution, 50% more pixels in each axis).

The Storm and Pearl Flip are (new and old, respectively) standard resolution "sideways".

The Bold and Pearl have non-standard resolutions.

 

In details (resolutions are width x height):

 

8100 series (Pearl) : 240x260
8200 series (Pearl Flip) : 240x320

8300 series (Curve), 8700 series and 8800 series : 320x240

8900 Curve (aka Javelin): 480x360
9000 (Bold): 480x320
9500 series (Strom) : 360x480 (480x360 when held sideways)

The upcoming BlackBerry Tour is also 480x360.

 

Cheers, Barak.
Highlighted
New Developer
Posts: 3
Registered: ‎08-24-2009
My Device: Not Specified

Re: Handset Resolutions

HI!

 

I´m very new in BlackBerry development and I´m just writing a simple application. I´m not sure how to set the screen resolution of my application. My app fits to the resolution of BlackBerry 8300 series And BB-Bold. I want to fit it for BB Storm. If I start my app. on Storm in Sideway Mode, it automatically jumps to normal mode (not Sideway). How can I force Storm to show my app also in Sidewaymode? Do I have to set this special Sideway resolution for Storm? And how? Please provide any Code if possible!

 

Thanks a lot!