I need help me with your Android Serial GPS Driver:
Last time I used linux was over 10 years ago and I have no idea how to compile and use this driver in Android. As for now:
- I have Vim with GPS module connected
- I can read NMEA data from ttyS4
- I have Ubuntu with Android Studio on PC
But I don’t know what I need to do now. Where to add “ro.kernel.android.gps=ttyS4”, where and how compile gps.c and what to do after that?
Firstly, I think you need to build your android ROM. About how to download android source code and build it, You can refer to this:
Download Android Source Code
Build Android Source Code
Why do you think that I should build my android ROM? And if I do it how should I use Android Serial GPS Driver (gps.c) to make my UART GPS work?
The Android Serial GPS Driver is need to built on android source code, also you can developer this GPS driver with NDK.
You can add this line into the file /system/build.prop