如何测量在Android GPS信号强度? [英] How to measure GPS signal strength on Android?

查看:1718
本文介绍了如何测量在Android GPS信号强度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题很简单,只要标题:如何测量GPS信号强度

Question is as simple as the title: How to measure GPS signal strength?

推荐答案

你确定你的意思是信号强度与精度?有什么好的信号强度?由于GPS的位置是通过多颗卫星确定的,你没有一的信号强度。

Are you sure you mean signal strength vs. accuracy? What good is the signal strength? Since the GPS position is determined via many satellites, you don't have "one" signal strength.

所以假设你真的是信号强度,即可获得 GpsStatus 通过 LocationManager.getGpsStatus(),并为您提供卫星通过 getSatellites列表(),而这些每个人都有一个信噪比( getSnr() )。

So assuming that you really mean signal strength, you can get the GpsStatus via LocationManager.getGpsStatus(), and that gives you a list of satellites via getSatellites()', and each one of those has a signal-to-noise ratio (getSnr()).

假设你的意思的准确性,尽量 Location.getAccuracy()

Assuming you mean accuracy, try Location.getAccuracy().

这篇关于如何测量在Android GPS信号强度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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