android-gps-emulator is a GPS location emulator for changing/setting/simulating the GPS location of the Android emulator through a simple map-based interface, using the geo fix command.
Using GWT and Google Maps in combination with JTA (Java telnet support), this is a simple tool for emulating the geospatial (GPS) location of your local android emulator using the telnet geo fix command.
NOTE: You must have a Google account with billing enabled to generate an API key for the Google Maps JavaScript API. See Google's documentation at Get API Key
- Download the latest release
- Create a file named
google_maps_api_key
containing your API key - Run the executable war:
java -jar android-gps-emulator-0.3.war
- http://localhost:8080/gpsemulator/
android-gps-emulator runs by default on port 8080. The port can be changed by passing the desired port as a parameter when running the executable war. For example, to run on port 9001:
java -jar android-gps-emulator-0.3.war 9001
- Clone the repository
- Create a file named
google_maps_api_key
containing your API key - From the command line execute
mvn gwt:run
- Click
Launch Default Browser
from the GWT Development Mode