安卓GPS坐标是在3G和wifi不同 [英] Android:GPS coordinates are different in 3G and wifi
问题描述
可能是一个愚蠢的问题,但我不知道背后的逻辑。
Might be a stupid question, but I don't know the logic behind.
- 在上Wi-Fi功能的设备,GPS坐标是准确的。(如预期)
- 禁用WiFi和3G能给出一个准确的坐标(设备位置是相同点1)。
时的距离是从点1和2。谷歌地图坐标计算显示了一个5分钟的步行距离。
when a distance is calculated from coordinates in point 1. and 2. Google maps shows a 5min walking distance.
可能有人解释上述行为,并有可能有相同的坐标,随着3G?
could someone explain the above behavior and is it possible to have same coordinates with 3G?.
推荐答案
Android设备有计算坐标的三种方法:
Android devices have three methods of calculating coordinates:
- GPS:这是精位置,是唯一一个准确
- 无线:使用热点的数据库收集谷歌街景在做的时候
- 3G:使用基站数据库以及一些很粗糙triangualtion
所以GPS坐标总是预期是准确的,但无线坐标的不的也不是3G网络。当然GPS precision的成本,它需要相当大量的能量(少数手机电池持续时间超过10小时的GPS运行),而WiFi和3G不需要多余的精力去什么的wifi / 3G无论如何都会使用。
So GPS coordinates are always expected to be accurate, but wifi coordinates are not and neither are 3g. Of course the cost of GPS precision is that it needs quite a lot of energy (a few phone batteries last more than 10 hours with GPS running) while wifi and 3g need no extra energy to what wifi/3g would use anyway.
这篇关于安卓GPS坐标是在3G和wifi不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!