安卓GPS坐标是在3G和wifi不同 [英] Android:GPS coordinates are different in 3G and wifi

查看:103
本文介绍了安卓GPS坐标是在3G和wifi不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能是一个愚蠢的问题,但我不知道背后的逻辑。

Might be a stupid question, but I don't know the logic behind.


  1. 在上Wi-Fi功能的设备,GPS坐标是准确的。(如预期)

  2. 禁用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:


  1. GPS:这是精位置,是唯一一个准确

  2. 无线:使用热点的数据库收集谷歌街景在做的时候

  3. 3G:使用基站数据库以及一些很粗糙triangualtion

所以GPS坐标总是预期是准确的,但无线坐标的的也不是3G网络。当然GPS precision的成本,它需要相当大量的能量(少数手机电池持续时间超过10小时的GPS运行),而WiFi和3G不需要多余的精力去什么的wif​​i / 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆