If you wish to develop your mobile app for portrait only, or landscape only, the IIZI API provides Java methods setOrientation
and unlockOrientation
which can be called on a VirtualSpace event or a Panel’s onUICreate
event. You can decide when to lock
or unlock
the orientation of your app, either at the start of the application or for any Panel.
This is the multi-page printable view of this section. Click here to print.
Locking orientation for Mobile
Locking orientation for Mobile