Test location-based features without leaving your desk
Mock GPS is a developer tool that feeds simulated GPS locations to Android, so developers and QA testers can check how their apps behave in different places, along routes and while moving.
Built for developers and testers
Use Android's built-in mock location feature to reproduce location scenarios on a real device, for apps you are building or are authorized to test.
Quick location
Jump to a fixed point by searching an address or landmark, entering coordinates, or tapping the map. Keep frequently used test points as saved places.
Route playback
Tap points on the map to build a route, then move along it at 1–120 km/h. Pause, resume, loop back and forth, and save routes for repeated test runs.
Floating joystick
Steer the simulated location in real time with a joystick that floats over the app under test, with an adjustable top speed.
Works across apps
Locations are delivered through Android's test location providers and Google's fused location, and keep running in the background with a notification you can stop at any time.
Getting started
- Enable Developer options on your Android device.
- Go to Settings › Developer options › Select mock location app and choose Mock GPS.
- Open Mock GPS and allow location and notification permissions.
- To use the floating joystick, also allow Display over other apps.
- Pick a location or route, tap start, then open the app you want to test.