views:

23

answers:

0

Hi,

I am trying to determine when to ask the user to calibrate their device. Specifically the sensor TYPE_MAGNETIC_FIELD. The event callback is called repeatedly and always with the same value of accuracy = 3 (high accuracy). I have waved a magnet over the device and really confused the sensor but still I get high? This does not sound right to me, what am I doing wrong?

My test phone, a Samsung Spica has non-standard ROM so maybe that is the fault? If I don't hear back I will re-flash a standard ROM and try again.

Thanks in advance for your help, Chris.

OK, a bit more info. Sensor.TYPE_ORIENTATION does return different accuracy values. However this is now depricated so should not use this :(