1

I have observed the accelerometer data in several android devices are different in same place with same orientation.

I am developing a game based on accelerometer X and Y data and it is working fine with tablet, but unusual result in android phones.

Please suggest to overcome this issue.

Thanks, Biplab

tmazur
  • 173
  • 6
Biplab Kundu
  • 187
  • 1
  • 13

1 Answers1

0

This is natural because every device has different hardware specifications, that means that they also have different accelerometer implementations each having different noises in their readings. Even the time bettween two consecutive polls intitialized with the same sensor delay flag (such as SENSOR_DELAY_GAME) will probably differ in different devices. I suggest you apply filtering in your data for smoother readings.

The examples are not in java but they will give you the idea.

Community
  • 1
  • 1
AggelosK
  • 4,313
  • 2
  • 32
  • 37