Screen Orientation

Devices come in different shapes and forms, and are used in multiple scenarios where the obvious orientation is not the perfect match. Therefore the application supports setting the orientation in Landscape and Portrait mode.

For added support the screen will rotate between the set orientation and its 180 degree counterpart before logging in. Once the login button is pressed the screen will lock to the orientation at that point. This was mostly implemented for Landscape mode where the users would wear the device on the arm, and they could individually select whether to wear it on the right or the left arm without having to change configuration.

In v. 1.7.0.5, functionality was added to lock the device to a certain orientation all together.

The configuration is set in start.cfg and looks as follows.

<start ... screenOrientation="Portrait">
 ...
</start>

Valid orientations are:

  • Portrait - Automatic portrait orientation which will lock specific orientation once logged in.
  • Landscape - Automatic landscape orientation which will lock specific orientation once logged in.
  • LandscapeLocked - Locked regular landscape orientation.
  • ReverseLandscapeLocked - Locked reversed landscape orientation.
  • PortraitLocked - Locked regular portrait orientation.
  • ReversePortraitLocked - Locked reversed portrait orientation.