03-08-2011 09:28 AM
Hi To Everyone
Am working for an application in which i want to perform orientation for some of the screens.
For one screen i want to display both portrait and landscape orientation, and for another screen i want to display the content in Landscape orientation.
I used the following code for both portrait & landscape screen
int directions = Display.DIRECTION_PORTRAIT | Display.DIRECTION_LANDSCAPE;
Ui.getUiEngineInstance().setAcceptableDirections(
And then for portrait screen i used this codes before pushing the screen
int directions = Display.DIRECTION_PORTRAIT ;
Ui.getUiEngineInstance().setAcceptableDirections(
it's not affect the portrait screen when pushed from Previous Screen(portrait & landscape screen)
Please help me for this.
Thanks & Regards
Gopi
03-09-2011 06:23 PM
You are not related to Packiaraj are you?
http://supportforums.blackberry.com/t5/Java-Develo
Just once please