Closed ckoessler closed 6 years ago
Apologies for not responding to this sooner. This was a limitation of the GpsDriver
API that was exposed during developer preview. The GnssDriver
API available as of Android Things 1.0 exposes all the fields of a location object.
I am trying to get the speed from the Location object that I get from my LocationListener, the object never has speed.
My Log never get hit although the lat long are correct.
I put some breakpoints in
NmeaGpsDriver#onGpsSpeedUpdate
and inGpsDriver#reportLocation
and I see the speed having the correct value there.I tried to log while having the device moving at 30mph, no speed at all from the LocationListener.