I need a combination of the Accelerator +Y-Axis (away from me) and the ScreenOrientation (for users that dont have a Gyro build in).
So i used the written way and that works but thought, i can get the orientation by an own event.
I need a combination of the Accelerator +Y-Axis (away from me) and the ScreenOrientation (for users that dont have a Gyro build in).
So i used the written way and that works but thought, i can get the orientation by an own event.
Sub GetOrientation As Int
Dim r As Reflector
r.Target = r.GetContext
r.Target = r.RunMethod("getResources")
r.Target = r.RunMethod("getConfiguration")
Dim Result As Int = r.GetField("orientation")
Return Result
End Sub