Use double g = Math.sqrt(x * x + y * y + z * z); On Thursday, June 9, 2011 1:03:27 PM UTC+2, rwe wrote: > > I can get three accelerations using ACCELEROMETER. but i need to > calculate the g force value. > is there any calculation to get it using these x, y,z values. > Thanks. > rwe.
-- 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

