Question

I'm porting android to Devkit8000 which is a BeagleBoard clone. I have a GPS module connected on /dev/ttyS0. I could successfully get NMEA output when writing "cat /dev/ttyS0" in the terminal emulator.

I want to know how to let android know that there is a GPS module on /dev/ttyS0 and it is outputting NMEA standard? To be able to use the android.location class with it! or test it with any GPS app in the store!

Is there something to edit in the android's source? adding driver for example, writing a code with android-ndk or what?

Was it helpful?

Solution

The interface you must implement is described in the Platform Development Kit and you may want to use the source for the emulated GPS as a reference.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top