Hi,
I do have a app in portrait only (over the IDE switch) and this is right for all
normal activities. But now I need a signature windows ...
I found the example and it should work easy, but this window I want to recognize that the smartphone is in landscape and where is the TOP.
Otherwise it can be that the signature will be saved staying on the head ...
I found the PhoneOrientation, but don't realy understand what the Azimuth will tell me ... and best if the activity will do it for me (switch the bottom of the activity to bottom) ...
I have no problem to understand the Start, Stop and the Event, but I have a problem to interpret the AZIMUTH value. :sign0085:
I do have a app in portrait only (over the IDE switch) and this is right for all
normal activities. But now I need a signature windows ...
I found the example and it should work easy, but this window I want to recognize that the smartphone is in landscape and where is the TOP.
Otherwise it can be that the signature will be saved staying on the head ...
I found the PhoneOrientation, but don't realy understand what the Azimuth will tell me ... and best if the activity will do it for me (switch the bottom of the activity to bottom) ...
B4X:
Dim Orientation As PhoneOrientation
...
Orientation.StartListening("Orientation")
...
Orientation.StopListening
...
Sub Orientation_OrientationChanged (Azimuth As Float, Pitch As Float, Roll As Float)
end sub
I have no problem to understand the Start, Stop and the Event, but I have a problem to interpret the AZIMUTH value. :sign0085: