Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 494
Jana Avatar asked Jan 14 '11 12:01

Jana


1 Answers

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.

like image 146
CommonsWare Avatar answered Oct 06 '22 21:10

CommonsWare