如何使Android上的位置稳定
我尝试接收纬度和Android 手机上的经度。 安卓上的位置是直接从卫星接收的吗? 为什么它一直在动态,而我却站着? 那么,有人知道如何使其稳定吗?
谢谢
I try to receive latitude & longitude on android phone.
Is location on android receive directly from satellite?
Why it dynamic all the time, while I standing though?
So, anyone know how to make it stable ?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该位置可能来自各个地方:
您的应用程序将有特定的需求,因此您需要根据其准确性和来源来决定您想要哪些位置,以及在获得它们后做什么。
使用 GPS 时,建筑物、球座、天气等都会对位置产生影响,因此您永远无法获得极其准确的位置。许多应用程序只是请求位置并使用它,但如果您需要准确、稳定的位置数据,则需要从相关来源收集数据,然后使用自己的算法来决定使用哪个。
您需要阅读、理解并使用此页面中的内容:
http://developer.android.com/guide/topics/location /获取-用户-位置.html
The location may come from a variety of places:
Your app will have specific needs, and so you need to decide which locations you want, and what you do when you get them, based on their accuracy, and the source.
With GPS, buildings, tees, the weather, etc will all have an effect on the location, so you'll never get one amazingly accurate location. Many apps just request a location and use it, but if you need accurate, stable location data, you need to collect data from relevant sources, and then use your own algorithm to decide which to use.
You need to read, understand, and use what's in this page:
http://developer.android.com/guide/topics/location/obtaining-user-location.html