开发者

How to detect whether GPS signal is weak or high?

How to detect GPS signal strength such as lo开发者_JS百科w (weak) or high ?

is there an API class ?

Thanks in advance.


GpsStatus. getSatellites();
//for each of those do 
GpsSatelite. getSnr();
//that ruturns the signal to noise ratio
//use with
GpsStatus.Listener

Heres the api docs: Location manager - GpsStatus - GpsSatelite


The getAccuracy() method of the Location object returned by onLocationChanged provides a good indication of how good the "fix" is.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜