GPS Module Integration with imx6q sabreauto AI (Android Oreo)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPS Module Integration with imx6q sabreauto AI (Android Oreo)

568 Views
suhaskaundinya
Contributor I

Hello,

I am using imx6q sabre auto ai board with android Oreo.

I need to integrate the GPS module with android oreo and I need to get the coordinates of the location.

I have an app for it, but whenever I use the app, it crashes and the log say no response from the device.

And also it throws me the following error:

"java.lang.IllegalArgumentException: provider doesn't exist: gps".

So, I suspect the module is not integrated. I am using an externel GPS device which I have connected through USB.

Could you please let me know how to enable the module in Oreo?

Any documents regarding this would be of great use.

thanks in advance.

BR,

Suhas

Labels (3)
0 Kudos
1 Reply

446 Views
igorpadykov
NXP Employee
NXP Employee

Hi Suhas

nxp android Oreo does not support usb gps. For testing

one can try to to read USB GPS device using dev/ttyUSB0 :
Enable ttyUSB0 

for integration one can look on UsbGPS4Droid project
https://github.com/HvB/UsbGps4Droid

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos