Setting up GPS data in Android Emulator

by in 0

B4 I forget_
If you have to use android emulator to test GPS related application, you can set up the mock up GPS data for your emulator.
This example is in Ubuntu Linux, connect to emulator by using telnet command.

telnet localhost 5554
geo fix -82.411629 28.054553
geo nmea $GPGGA,001431.092,0118.2653,N,10351.1359,E,0,00,,-19.6,M,4.1,M,,0000*5B
 Via http://stackoverflow.com/questions/1972895/testing-gps-in-android

Leave a Reply