Reputation: 471
What is the sensor sampling rate of samsung galaxy pop android phone in SENSOR_DELAY_GAME.From where did I get this information?I want to use the accelerometer sensor.
Thanks in advance
Upvotes: 3
Views: 7525
Reputation: 63955
According to ICS sourcecode
case SENSOR_DELAY_FASTEST:
delay = 0;
break;
case SENSOR_DELAY_GAME:
delay = 20000;
break;
case SENSOR_DELAY_UI:
delay = 66667;
break;
case SENSOR_DELAY_NORMAL:
delay = 200000;
those are in μs so SENSOR_DELAY_GAME
would be 20ms or 50Hz
It still depends on your Hardware etc. So you might want to measure it to verify that.
Upvotes: 12