nonbasketless
nonbasketless

Reputation: 41

Accessing raw GPS data on Android

first question here!

I am interested in acquiring raw GPS data on android devices: satellite positions, pseudoranges, and phase information. According to this well-answered question, the best we can do is get everything that GpsSatellite provides.

I'm wondering if the situation has changed in the past five years? I noticed that the Android source now a structure named GpsMeasurement, which sounds like it has everything I want in it, and is used similar to the well-known GpsStatus structure.

However, GpsMeasurement is @SystemApi and thus not accessible via normal app writing. Further, I can't find any information on this beyond source code.

Is there not another way to get this data? Is there a workaround to access GpsMeasurement regardless? There's really nothing in there that should be kept from developers.

Upvotes: 1

Views: 6125

Answers (2)

JVal90
JVal90

Reputation: 175

So looks like this has changed recently. Here is a link describing how to get the raw GPS data off of modern smartphones: Raw GNSS Measurements

Upvotes: 1

AlexWien
AlexWien

Reputation: 28727

I doubt that you ever will have access to that data on an consumer android handy. The reason is, that the GPS chip has to specially configured to output these pseudo ranges, this produces overhead that normally nobody uses.

Further GPS chips that are able to output pseudeoranges, are often more expensive. This is called the "raw-data option".

Upvotes: 0

Related Questions