Android · Mock GPS · MIT

Route Spoofer

Android mock-GPS route player — drive a scripted route at a set speed to test location-based apps.

Route Spoofer main screen with a multi-point route on the map

What it is

Route Spoofer is a standalone Android app that injects a scripted, moving GPS location into your whole device. You draw a route, set a speed and press Play — and every other app on the phone reads the simulated position as if you were really there. No root, no separate desktop tool: it runs entirely on the phone.

Who it's for

Built for QA engineers and developers who work on location-based apps — driver, navigation, delivery and dispatch products.

Test without moving

Exercise a driver, navigation, delivery or dispatch app from your desk instead of walking or driving a real route.

Reproducible playback

Replay the exact same route at the exact same speed on every run — ideal for regression tests and bug reproduction.

Believable demos

Show a ride-hailing or dispatch platform with a realistic moving trip, without sending anyone outside.

Works with any map app

Because the location is injected at the system level, the fake position appears everywhere — not just inside Route Spoofer. Open Google Maps, Yandex Maps, Maps.me or any navigator and watch the marker follow your scripted route.

Spoofed location shown in Google Maps
Google Maps
Spoofed location shown in Yandex Maps
Yandex Maps
Spoofed location shown in Maps.me
Maps.me
Spoofed location shown in 2GIS
2GIS

Android “Mock location is on” system banner

Features

Multi-point routes

Tap A → B → C … to draw a route; Route Spoofer interpolates a smooth path between the points.

Speed & interval

Set the playback speed in km/h and how often a location fix is emitted.

Play · Pause · Stop

Start, pause and stop the run at any moment.

Loop modes

Choose loop off, restart from the start, or ping-pong back and forth along the route.

Live telemetry

A HUD shows speed, heading, progress and distance, with a running log of emitted fixes.

Saved locally

Your route is stored on the device — reopen the app and replay it.

Foreground service

A native foreground service keeps emitting the location even while the app is in the background.

Route Spoofer interface in Chinese

Multilingual interface

The app interface itself is translated into several languages and switches on the fly — handy when you test the same flow across locales.

  • English
  • Русский
  • Deutsch
  • Español
  • Português
  • Français
  • 中文
  • हिन्दी
Route Spoofer interface in Chinese Route Spoofer interface in Spanish

How it works

A Capacitor 7 web UI built with HTML and JavaScript handles route drawing and preview. A native Kotlin foreground service injects the position into Android's GPS and NETWORK test providers, so the fix reaches the whole system. Route Spoofer must be selected as the system mock-location app. The project is built with the JDK 21 toolchain.

  • Capacitor 7 web UI
  • Kotlin foreground service
  • GPS + NETWORK mock providers
  • JDK 21

How to use

A one-time phone setup, then press Play. The two screenshots below show the developer-mode steps.

Phone setup

  1. 1

    Enable Developer options

    Open Settings → About phone → Software information and tap Build number seven times to unlock Developer options.

  2. 2

    Install the app

    Allow installs from unknown sources and sideload the app-debug.apk file onto the phone.

  3. 3

    Select mock-location app

    In Developer options open “Select mock location app” and choose Route Spoofer.

  4. 4

    Launch & grant

    Open Route Spoofer, grant Location and Notifications, wait for the readiness card, then press Play.

Software information screen — tap Build number to enable Developer options
In-app readiness card asking to select Route Spoofer as the mock-location app

Get the APK

Cloud build

GitHub Actions builds the app — download the app-debug.apk artifact from the workflow run.

Local build

Or build it yourself in Android Studio with JDK 21 and the Android SDK.

Platform support

Android only. iOS has no public mock-location API, so it cannot be supported.

Android — supported iOS — not supported

License

Released under the MIT License — © 2026 Maxim Popelnitskiy. Free to use, modify and distribute.

MIT License · © 2026 Maxim Popelnitskiy