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.
12-05-2008 11:29 AM
Hello, I'm using setAcceptableOrientation(...) to force screen mode to PORTRAIT.
The app renders in PORTRAIT mode and wil stay in PORTRAIT ignoring any subsequent tilts which is what we need.
However, if the application is started while the phone is in LANDSCAPE mode, canvas will paint in landscape mode until the phone is tilted to PORTRAIT mode at least once.
I would like the app starting in PORTRAIT mode ignoring the orientation of the device when app started.
12-09-2008 12:33 PM - edited 12-09-2008 12:34 PM
12-18-2008 04:31 AM
could you tell how do you fixed the orientation in one mode like portrait as i am developing a game which uses SuperCanvas class for all displays and I am using the netbeans software to develop a game. could you send me the code example how to disable the landscape mode.
12-19-2008 01:16 PM
07-21-2009 01:21 PM
This issue has been forwarded to our development team. Thank you for reporting it.Message Edited by MSohm on 12-09-2008 12:34 PM
Hi can anybody please confirm if this reported problem has been resolved, and if so, in what device software version the problem was resolved?
In particular, I am referring to the application always starting in the orientation that the device is currently displaying when using a J2ME canvas, regardless of how you have DirectionControl.setAcceptableScreenDirections configured.
06-29-2010 06:47 AM
Are there any news about this issue? Two years have passed and still no reply. I experience this problem in Blackberry 4.7 emulator and it's really annoying. Was it fixed in 5.0?
06-29-2010 10:43 AM
This has been fixed in 5.0. I tried this in a BlackBerry smartphone simulator running version 184.108.40.2065 and it worked correctly.
11-08-2010 03:58 PM
I'm not sure that issue has been fixed ... It's still there .. (5.0 & 6.0)
Currently ,I am in process of migration of m y code to work with Tiltable devices (like Storm , Torch etc.).
As a temporary fix, I've tried to force a user to use our application in PORTRAIT mode only , by calling either :
// Works only in OS 50
// 4.7 & UP
Both API's call have the same result ... When user is holding Storm or Torch device in Portrait mode and trying to run an application for first time, every thing is perfect ... no complains and it works as expected ... An application stays in the initial mode (portrait) when user tries to tilt it to landscape possition.
But .. when user decides to run the same application for a first time in a Landscape mode .. then it looks like both of these API's don't work properly .... for all screens . It looks like device partially ignored setAcceptableDirections call
So it keeps a device orientation in Portrait mode , but all screens are still in Landscape mode ... (all screens classes are extension of net.rim.device.api.ui.container.MainScreen).