re/SensorManager.html#getRotationMatrix(float[], float[], float[], float[])">getRotationMatrix()</a></code> method to obtain the rotation matrix and the inclination matrix. You can then
use these matrices with the <code><a href="../../../reference/android/hardware/SensorManager.html#getOrientation(float[], float[])">getOrientation()</a></code>
and <code><a href="../../../reference/android/hardware/SensorManager.html#getInclination(float[])">getInclination()</a></code> methods to obtain azimuth
and geomagnet