I assume you mean degress to g's, as the accelerometer data is already in degrees?
If so I think it would be: float gaxis = Math.sin(Math.toRadians(xaxisreading)); Note though that if someone is moving the phone they might be accelerating it in the same axis, so that would screw your reading up --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---