It's still June 15. Here's what is in the documentation: at http://developer.android.com/reference/android/hardware/SensorManager.html#getOrientation(float[], float[])
you'll find: public static float[] getOrientation (float[] R, float[] values) Computes the device's orientation based on the rotation matrix. When it returns, the array values is filled with the result: values[0]: azimuth, rotation around the Z axis. values[1]: pitch, rotation around the X axis. values[2]: roll, rotation around the Y axis. Parameters R rotation matrix see getRotationMatrix(float[], float[], float[], float[]). values an array of 3 floats to hold the result. Returns The array values passed as argument. Regards, serge On Jun 15, 5:29 pm, yoshitaka tokusho <[email protected]> wrote: > Is there no body here, or is my question too silly? > > On Jun 15, 6:53 am, yoshitaka tokusho <[email protected]> wrote: > > > > > Hi all, > > > Simply what I have to suppose SensorManager.getOrientation()'s return > > values are? I expected getOrientation returns yaw/pitch/roll values in > > degrees like SensorEvent dose when callback returned. But all I can > > get is some strenge floating number something about between -3.0 and > > +3.0. Would someone knowledgeable teach me what it is? > > > Any help will be so appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

