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.
Written by Brian Nelson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Android
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#