02-26-2009 08:17 PM
My application has many screens. Most screens allow rotation happens on storm. But there is a one page that I want to forbid rotation happens. For example, when BB's video recorder only has the preview, rotation is allowed, but once recording is started, rotation is forbidded.
What should I do to accomplish this? Sample code is appreciated.
Solved! Go to Solution.
03-02-2009 04:36 PM
Your application can specify the orientations it allows. Have a look at the link below for an example.
How To - Control the screen orientation
Article Number: DB-00706
03-02-2009 04:47 PM
03-05-2009 01:57 PM
In this article DB-00706, you should should mention that the code doesn't always work.
Quote:
Currently, aApplications start in the current orientation of the BlackBerry Storm, regardless of what modes a developer has specified. Once a user tilts the device to the correct orientation, the application will change its orientation and then lock it in place.
This is an issue with the BlackBerry handheld software that has been sent to our development team.
Mark Sohm
BlackBerry Development Advisor
www.BlackBerryDeveloper.com