SimulateGps Review: An Old-School but Practical Android GPS Spoofer
A Java + Eclipse based Android GPS simulation tool for developer debugging and location-based testing needs.
[广告位: article-top] 请在 .env 中配置至少一个广告平台
SimulateGps Review: An Old-School but Practical Android GPS Spoofer
I’ll be honest — when I first stumbled upon this project, I did a double-take. Eclipse? Still maintained in 2023? Isn’t Android Studio the only game in town now? But after digging through the code and README, I realized that while it might look “retro,” it solves a genuinely practical problem: faking GPS location on Android.
Project Background: Why Simulate Location?
Any Android dev who’s had to test location-based features knows the pain. You either physically walk around outside testing your app, or you pace around your office like a weirdo hoping the GPS picks up some drift. And don’t even get me started on testing geo-fenced features that only trigger in specific countries — I’m not buying a plane ticket just to verify a push notification.
That’s where SimulateGps comes in. The author, Chen Hengfei, wrote a Java-based location simulation system using native Android APIs. No root required — just flip on “Allow mock locations” in developer options and you’re good to go. With 121 stars, it’s not exactly viral, but for such a niche tool, that tells me plenty of developers found it genuinely useful.
Core Features: Three Practical Highlights
First, system-level location injection. Instead of going down the root-requiring hook injection route, the project calls Android’s native LocationManager.setTestProviderLocation(). Much lower barrier to entry — any user who can enable developer mode can use it.
Second, visual map-based point selection. It integrates Baidu Maps SDK, so you can tap your target location on a map instead of manually typing lat/long coordinates. Way more user-friendly than pure CLI tools.
Third, multi-mode location awareness. The README explains the differences between cell tower positioning, WiFi positioning, GPS positioning, and AGPS. The tool focuses on GPS simulation, and the author recommends setting location mode to “GPS only” for best results.
Quick Start: Import and Run in Eclipse
This project was built with Eclipse, so the setup feels a bit vintage:
- Download the source and import via Eclipse: Import -> Existing Android Code Into Workspace
- Replace the Baidu Maps API key in AndroidManifest.xml with your own (otherwise the map won’t load)
- Enable developer options on your phone and turn on “Allow mock locations”
- Set location mode to “GPS only” (on Samsung: Settings -> Location -> Mode -> GPS only)
- Run the project, tap your desired location on the map, and hit simulate
The whole process takes about ten minutes, assuming you still remember how Eclipse works. If you’re from the Android Studio generation, there might be a small learning curve.
Pros and Cons: Let’s Be Real
Pros:
- No root required, accessible to regular users
- Map interface makes point selection intuitive
- Small codebase, easy to understand and modify
Cons (and I promised to mention these):
- The author literally admits in the README that this approach is “unstable, has obvious characteristics, and can easily be detected by feature sniffing.” Games with anti-cheat will catch this instantly, so if you’re thinking of using it for… questionable purposes, think again.
- It’s built with Eclipse. The tool chain is dated, and importing into newer environments might cause compatibility headaches.
- It depends on Baidu Maps SDK, which requires applying for an API key. Fine for Chinese developers, but potentially annoying for international users.
- No releases published — you have to clone and build it yourself.
- Last updated June 2023. Android moves fast, and there’s no guarantee this works cleanly on newer OS versions.
Who It’s For and Final Thoughts
I see two types of people who’d get value from this:
First, Android developers who need to debug location-based services without constantly carrying their phone outside for field testing.
Second, learners curious about Android system APIs. The code isn’t overly complex, and it serves as a decent introductory case for understanding LocationManager and mock location mechanisms.
If you’re looking for some “universal location spoofer” to bypass app detection, this probably won’t cut it. The author literally documented the limitations upfront, and that honesty actually makes me trust the project more than tools that overpromise and underdeliver.
All in all, SimulateGps is a small, solid utility with a clear technical approach and readable code. Sure, the Eclipse and Baidu Maps choices give it a slightly “dated” feel, but the core functionality works. If you have a legitimate Android location simulation need, spending 30 minutes to try it out is time well spent.
[广告位: article-bottom] 请在 .env 中配置至少一个广告平台