Android compass accuracy - when to calibrate?
问题 I develop an application which provides some augmented reality features using compass. I found out that sometimes I need to calibrate my compass to make it work well. How do I know (programatically) that calibration is needed? I mean I know how to calibrate compass using the 8-pattern figure, but I want to detect that calibration is needed and display some alert to user ("Your compass is not accurate enough, please calibrate your compass sensor."). Is this possible, please? Thanks! 回答1: My