Jana
Jana

Reputation: 2920

What is Android accelerometer’s min and max range?

I would like to know the minimum and maximum range of the accelerometer in Android.

I need it for x,y,z.

What are the exact values of it?

Upvotes: 8

Views: 11000

Answers (2)

mdelolmo
mdelolmo

Reputation: 6457

It measures a physical magnitude! I don't really know if there is some practical limit introduced by the hardware-device, but I don't think you're gonna be that fast... Since its a vectorial magnitude, the sign means the sense of your movement.

PD: I'm assuming you mean Sensor.TYPE_ACCELEROMETER events values.

Upvotes: 1

CommonsWare
CommonsWare

Reputation: 1007474

There is no "exact values" in general -- it will vary by device. The Sensor class has getMaximumRange(). Since acceleration can be positive or negative, I would assume you can safely multiply that value by -1 to get the minimum value.

Upvotes: 11

Related Questions