> - How to retrieve the rotation-matrix by using the getRotationMatrix() > function when we don't have aligned data. On my G2 (HTC Magic) getRotationMatrix() returns always false (i.e. failure) and does not fill the given arrays with something usable. In the same way, the data returned in SensorEvent values array are not compliant with cupcake 1.5r2 doc :(
The old (deprecated) SensorListener API, works as described and can give you an approximative position of the phone (azimuth, pitch and roll values). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---