this might help: http://eng.pulse.me/optimizing-for-screen-sizes-on-android/
On Dec 7, 7:23 pm, Frantch <ferro.france...@gmail.com> wrote: > Hello, > > Im interested in getting the phone orientation (Azimuth angle). I know that > to achieve that i need SensorManager.getOrientation that take in parameter > the Acceleration and The magnetic field and return a rotation matrix. And > then from here I can either user getOrientation or (because I read some > stuff about oration matrix a can do atan2(y,x) to get the Azimuth angle) > > I would like to know what are the math behind the method > getOrientationMatrix ? How is that rot ion matrix calculated from the accel > and the magnetic field ? > > thank you -- 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