Last Updated: February 25, 2016
·
936
· bdnelson

Set current location on Android Emulator

On Android Emulators you have to set its location if you need location information while testing. I got tired of doing this by hand, so I wrote a quick expect script to automate it:

Expect script to set current location on Android Emulator (OS/X)

It depends on CoreLocationCLI which can be installed via brew with: brew install CoreLocationCLI

Note that this is OS/X only.