Hi,

I am trying to write an app that uses the compass along with steps
travelled to approximate the path one takes
walking around.  I fugure that I can use the z value of
SENSOR_ORIENTATION or the z value returned by
SensorManager.getOrientation() which is more recommended by the API
doc.  Can someone explain why getOrientation() is prefered over
SENSOR_ORIENTATION?  They both seem to produce a magnetic north
reading, which I should be able to correct with the declination angle
getDeclination()  (android.hardware.GeomagneticField)

Thanks!


-- 
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

Reply via email to