How to detect abnormal magnetic field/orientation readings and recalibrate orientation sensor (compass reset)?
<p>We are trying to develop an app that uses compass information, and facing a similar problem on the Droid Incredible [http://www.youtube.com/watch?v=qSDpHksACRc][at time-2:02].</p>

<p>my prob is similar to the link:http://androidforums.com/incredible-support-troubleshooting/73860-compass-calibration.html</p>

<p>**
I have tested my app with nexus one also and its working fine in it. The only problem is Droid incredible.
**</p>

<p>I do not think repeatedly doing a factory reset will be a good idea for users. Ideally we would like to detect the abnormal magnetic field and ask the user to reset just the compass. </p>

<p>Can you please suggest how we can detect the abnormal magnetic field through code and trigger the compass reset?</p>

<p>Thanks</p>
