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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
New Contributor
Posts: 5
Registered: ‎01-27-2011
My Device: Not Specified

Possibility to rotate a whole MIDlet (or its graphical Content)

Hi,

I am currently developing a Breakout-Style-Game for a customer. This is my first project for the blackberry, but I already finished most of the work;
Our customer defines the following target devices: Storm 2 (9520) and Bold (9700) - both are using OS5; As it could be possible that we need to develop the game for other devices (not just blackberry) in the future, I have chosen to develop the game as a MIDlet (and i am using mostly the J2ME Library, except for a few specific things), where I used GameCanvas for all my Display-Screens.
On the Storm2 I have locked the Screen in Portrait-Mode, because Landscape-Mode would cut off the lower end of my Background Graphics (and my paddle is not visible then, etc).
The Blackberry-Bolds' Screen has the same Resolution as the Screen of the Storm2, but the Bolds'-Screen is Landscape instead of Portrait, so when I start the Bold-Simulator, my Graphics are cut off.

My Question is:
Is it possible to rotate the whole MIDlet (or the whole Graphical content of it), so that it will display in landscape mode on the Bold? (like the Storm2 does automatically when i tilt the device and not restricting the rotation)
The User will then have to play the game with a tilted bold-device (keyboard on the right, screen on the left).

 

storm2bold.jpg

 

Thanks for your time,
Benny