Android: Problems calculating the Orientation of the Device
i'am trying to build a simple Augmented Reality App, so I start working with sensor Data. According to this thread ( Android compass example ) and example ( http://www.codingforandroid.com/2011/01/using-orientation-sensors-simple.html ), the calculation of the orientation using the Sensor.TYPE_ACCELEROMETER and Sensor.TYPE_MAGNETIC_FIELD doesn't really fit. So I'm not able to get "good" values. The azimut values doesn't make any sense at all, so if I just move the Phone upside the value changes extremly. Even if I just rotate the phone, the values doesn't represent the phones orientation. Has