Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to measure GPS signal strength on Android?

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

like image 597
Pentium10 Avatar asked Aug 23 '10 21:08

Pentium10


People also ask

How do I check GPS signal on Android?

You should open the Phone app, tap on the Compose button and insert *#*#4636#**, *#0*# or #7378423#** depending on the Smartphone model and manufacturer. Once you gained access to the menu you should tap on the Sensor Test/Phone Info/Service Test depending on the available terminal and select the GPS test option.

How do I check GPS strength?

To proceed, launch the Phone app, tap the Compose button on the keypad (note that the wording may be slightly different depending on the brand and model of device in use and the version of Android installed on it) and type in the code *#*#4636#**.

What is a good GPS signal strength?

The recommended signal level for GPS testing is -90 dBm. The expected SNR with this signal level is normally more than 16 dB.


1 Answers

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().

like image 145
EboMike Avatar answered Oct 12 '22 14:10

EboMike