are/package-summary.html">getOrientation()</a></code> method to compute orientation
values. You can also use the <code><a href="../../../reference/android/hardware/SensorManager.html#remapCoordinateSystem(float[], int, int, float[])">remapCoordinateSystem()</a></code> method to translate the orientation values to your application's frame of
reference.</p>

<p>The following code sample shows how to acquire orientation data directly from the orientation
sensor. We recommend that you do this only if a device h