vendredi 1 juillet 2016

Phone.SetScreenOrientation inconsistent?

My app needs to freeze the current orientation, whatever that may be, and then release it for further rotation later using phone.SetScreenOrientation(-1).

Using the reflection library, I consistently get rotation values of 0,1,2,3 across devices (current target devices are Nexus 10 and Nexus 9 tablets) where 0 is landscape and the following numbers are clockwise 90 degree rotations.

However, when I use the current rotation value to SET the screen orientation, it works differently on the...

Phone.SetScreenOrientation inconsistent?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/29bWPAd
via IFTTT

Aucun commentaire:

Enregistrer un commentaire