A NodeJS server that push locations to the android emulator.
npm install
npm start
That is it! Just browse to http://localhost:3000
Click on the map, an voila! The android emulator has changed his location.
By defualt, the server use localhost:5554 address to connect with the android emulator.
However, it's necesary to set the auth token in order to speak with the adb shell.
Automatically, the server look at $HOME/.emulator_console_auth_token
, but you can set some
command lines argument to configurate the server:
node bin/simulator --host=emulator_host --port=emulator_port --auth=mulator_auth_code
- Simple Mode: Click on map and server push location to emulator.
- Path Mode: Click several locations on map, then press play and you can see how your location will change following the path create.