Mocks a static location on the Android platform.
- Use standard Google Maps motions to drag map around until black dot in centre corresponds to location that you'd like to "mock to"
- Either hit the
APPLY
button or do a three-finger-tap to apply the mocked location - Once the title bar flashes green, the position has been mocked
- Install Android SDK
- Run
android
, and install:- Android 21 Platform
- Google Play services
- Google Repository
- Android Support Repository
- Get a Google Maps API Key
- In
~/gradle.properties
, enterpositionMockApiKey=YOUR_KEY_HERE
(or just set the environment variableAPI_KEY
) - Run
gradle build
I used to use "Fake Location" for mocking my position on Android, but after you use it long enough, it bombards you with ads. Now's a good time to make a streamlined open-source version.