[android-developers] Re: How to ues getRotationMatrix to translate the Sensor.TYPE_ACCELEROMETER values from device coordinate to world coordinate?

2011-11-07 Thread Lork
That's the question that make me mad for at least 3 days! Please help me! I have your same problem. IDENTIC! Have you solved it? I think that rotation matrix is not usefull, because doing so, i have too, the first and second absolute component of acceleration are always 0, and the third

[android-developers] Re: How to ues getRotationMatrix to translate the Sensor.TYPE_ACCELEROMETER values from device coordinate to world coordinate?

2010-03-03 Thread Lotuz
Thanks,but your result is the accurate rotation angles of axises. I just want to know how to get the accelerometer values translated into the world coordinate. Any thoughts? On 3月2日, 下午7时49分, mscwd01 mscw...@gmail.com wrote: This is my Sensor Listener Class, I hope it helps: private class