tags:

views:

256

answers:

2

Hi guys,

How to detect GPS signal strength such as low (weak) or high ?

is there an API class ?

Thanks in advance.

+4  A: 
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

tm1rbrt
Watch out for the sat count, though. Often when I go indoors I see the sat count go up, but the accuracy go down. Must be due to reflections or something.
Lance Nanek
+1  A: 

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