Search code examples
android-things

Class NmeaGpsDriver in AndroidThings


I don't find the class NmeaGpsDriver in any androidthings: https://mvnrepository.com/artifact/com.google.android.things/androidthings Do you have a jar? or what class I cound used instead?


Solution

  • That class is an extension of the built in GNSS driver. It's in fact available as one of the provided sample drivers on GitHub.

    You can import it with: implementation 'com.google.android.things.contrib:driver-gps:1.0'