12-13-2011 04:33 AM
Is there any way to lock the screen to portrait (for smartphone).
Well, then <rimrientation mode="portrait"/>.... have any support on phone.
Solved! Go to Solution.
12-14-2011 01:13 PM
If you see this is on the tentative scope for our next milestone - https://github.com/blackberry/WebWorks/issues/mile
12-14-2011 10:46 PM
Good info, However now i just added the below code to achieve my target.
int directions = net.rim.device.api.system.Display.DIRECTION_PORTRA
IT; net.rim.device.api.ui.Ui.getUiEngineInstance().set AcceptableDirections(directions);