Android中磁力计的软重置
我注意到,通过多次摇动或敲击手机(SE Xperia x10 mini)可以重新校准磁力计。有什么方法可以以更受控的方式在软件方面进行此操作吗?
I have noticed that by shaking or tapping the phone (an SE Xperia x10 mini) several times recalibrates the magnetometer. Is there any way of doing this software-wise in a more controlled way?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不这么认为。这似乎是某种“硬件重置”:当磁力计被磁场迷惑时(扬声器通常就足够了),它需要物理移动才能返回到“简单状态”。
I don't think so. It seems some sort of "hardware reset": when the magnetometer has been confused by a magnetic field (a loudspeaker is usually enough) it requires physical movement in order to return to a "plain state".