I have to display which direction the user is pointing the Android device.
I am using Sensor.TYPE_ACCELEROMETER
, Sensor.TYPE_MAGNETIC_FIELD
to get the azimuth, pitch, roll. But I am to able to figure out how to get directions (North, south, east , west,...) from this.
Please help
Thanks