07-25-2013 07:47 AM
I am working on an app in which i need to set portrait orientation position for all my screen. i am done with this .
I do easily set orientation.
my code is:-
int directions = Display.DIRECTION_NORTH;
net.rim.device.api.ui.UiEngineInstance engineInstance = Ui.getUiEngineInstance();
if (engineInstance != null)
but in my app i need to open a url in BrowserSession, this orientation code not work on BrowserSession api, how can i set this Browser pages orientation like my other ui screen, is there any other code to set the BrowserSession orientation in landscape or portrait.
plz guide me...! Any code reference will be helpfull...!
Thanks in Advance