Alan
Alan

Reputation: 1700

How can I simulate having no GPS location or poor location

I'm struggling to simulate not having gps/location or poor/slow gps location. I'm trying to simulate and test what happens if my location request times out. (Yes, I've tried the microwave, and I don't own a basement 😭)

Upvotes: 8

Views: 3194

Answers (2)

M. Leonhard
M. Leonhard

Reputation: 1572

There's no way to do that right now. Star the feature request to encourage Google's engineers to add it:

Android Public Tracker > App Development > Android Studio > Emulator > Allow simulating no location available.

Upvotes: 2

SKim
SKim

Reputation: 103

Try finding an area of a building with poor or no cell tower signal and turn off wifi to disable wifi based location service. I've had good luck with going down into the basement of our building with wifi turned off to delay location positioning.

Just saw your edit about no basement. On one of my older phones, I could open the cover and disconnect the antennae. Don't know if you can still do that on modern phones.

Upvotes: 1

Related Questions