03-08-2011 09:27 AM
Hi guys,
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(d
And then for portrait screen i used this codes before pushing the screen
int directions = Display.DIRECTION_PORTRAIT ;
Ui.getUiEngineInstance().setAcceptableDirections(d
it's not affect the portrait screen when pushed from Previous Screen(portrait & landscape screen)
Can any one please help me for this problem?
Thanks
Packiaraj
03-09-2011 06:24 PM
You are not related to Gopi are you?
Just once please....