Hello, I have been developing a android application where I need to get the phone orientation. I have the motion input and get the phone sensor but they need a treatment that I had not found yet. i know that in Android it is so easy because the Android SDK give the final orientation values, where are implicitly the acceleration and gyro values. I want to know how to operate this values to get the phone orientation, either anything like the android values or anything you know about.
Thank you for reading.