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 ex
Have you tried the combined (sensor-fusion) type Sensor.TYPE_ROTATION_VECTOR. This may give better results: Go to https://developer.android.com/reference/android/hardware/SensorEvent.html and search for 'rotation_vector'.