0

Hi can anyone give sample code to find the traveled distance using android accelerometer sensor.can anybody explain that where to call

double Accel2mms(double accel, double freq)

this method..from the following link How to find distance of displacement using accelerometer sensor in android smartphone?

Community
  • 1
  • 1
Mahi R
  • 29
  • 2
  • Possible duplicate of [This Question](http://stackoverflow.com/questions/26092570/how-to-find-distance-of-displacement-using-accelerometer-sensor-in-android-smart) – Umair M Jul 28 '15 at 07:15
  • Yes.but i can get where to call double Accel2mms(double accel, double freq){ double result = 0; result = (gravity*accel)/(2*PI*freq); return result; } this method ...and i don't know to calculate frequency value in that.can u help on this. – Mahi R Jul 28 '15 at 07:19

0 Answers0