本文介绍了使用Android手机以北确定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我看着的SensorManager,是仍然不确定,我怎么发现如果手机看真北(或与此有关的任何其他方向)。
I looked over SensorManager and was still unsure, how do I detect if the phone is looking at true north (or any other direction for that matter).
推荐答案
如果你只是在寻找一个样本的其所有的并且在第14章。指南针的应用
If you are just looking for a sample, the publishers of Professional Android 2 Application Development have all their example code available for download and there is a compass application in chapter 14.
这篇关于使用Android手机以北确定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!