Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.22 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.22 KB

Position Mock Build Status

Mocks a static location on the Android platform.

How to use

  1. Use standard Google Maps motions to drag map around until black dot in centre corresponds to location that you'd like to "mock to"
  2. Either hit the APPLY button or do a three-finger-tap to apply the mocked location
  3. Once the title bar flashes green, the position has been mocked

Building

  1. Install Android SDK
  2. Run android, and install:
    • Android 21 Platform
    • Google Play services
    • Google Repository
    • Android Support Repository
  3. Get a Google Maps API Key
  4. In ~/gradle.properties, enter positionMockApiKey=YOUR_KEY_HERE (or just set the environment variable API_KEY)
  5. Run gradle build

Purpose

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.

Screenshot: Screenshot