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.
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()
).
Assuming you mean accuracy, try Location.getAccuracy()
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…