Using a rotation vector in earlier Android systems
<p>Hey, for an application I am writing I need to use the data which is given in <a href="http://developer.android.com/reference/android/hardware/SensorEvent.html#values" rel="nofollow">Sensor.TYPE_ROTATION_VECTOR</a>. The bad news are that I program, among others, to my G1 device, which runs Android 1.6, i.e. API Level 4, and not 9 as needed. Nevertheless, I am pretty positive that my phone does have a sort of gyroscope, which means it should be possible for me to get the exact orientation of the phone. So, the question is, how do I do it?</p>

<p>Thank you in advance.</p>
