Using ExtGPS with Android SDK
15 December 2009, 06:44 - ExtGPS
Posted by Administrator
Here's a little tip for those of you who use different kind of GPS enabled software development tools. You can use ExtGPS to provide live GPS information for your development purposes.
On Android development kit, there is a special text based protocol over TCP port 5554 which can set the GPS position used for Android applications. ExtGPS (and any other GPS) can easily be setup to feed emulator with live GPS data. Well, at least if you are on a UNIX based system.
On OSX, to use live ExtGPS data with Android emulator, just connect ExtGPS normally (there's instructions link on the right navbar). Start Android emulator and run this command line on shell (single line):
cat /dev/tty.E90-SymarcticExtGPS | sed -e 's/^/geo nmea /g' | telnet localhost 5554
On Windows, it might be possible to get same results by creating a BT serial port and using PuTTY's plink command to read the serial port, but there's no built-in sed command to format the data...