# Test GPS location on a cloud Android phone.

Create a Mobilebox phone with `city: "Berlin"` and it starts with Berlin's GPS position, time zone and language, ready for your ride, delivery or maps app; any other point is one `location` call away. You use it in your browser or your agent drives it over MCP or REST, for $0.01 a minute.

[Start a phone in a city](https://mobilebox.dev/signup?device=android_cloud&amp;via=need-gps-location&via=md) [API reference](https://mobilebox.dev/docs/reference?via=md)

Sign up with GitHub, Google or email. New workspaces get free credit, no card.

Organic Maps on a Mobilebox phone after `city: "Berlin"`, 30 November 2026.

## Put the phone where your users are.

A city sets GPS, time zone and locale together (Berlin: 52.52, 13.405, Europe/Berlin, de-DE). Explicit fields win, and every setting stays across park and start.

[Locale, location and proxy](https://mobilebox.dev/blog/locale-location-proxy?via=md)

```
# A phone in Berlin, then a walk to Alexanderplatz
auth=(-H "Authorization: Bearer $MOBILESANDBOX_API_KEY")
phone=$(curl -s "${auth[@]}" -H 'content-type: application/json' \
  -d '{"name":"gps","city":"Berlin"}' "https://mobilebox.dev/v1/phones?wait=ready" | jq -r .id)
curl -s "${auth[@]}" -X PATCH -H 'content-type: application/json' \
  -d '{"location":{"lat":52.5219,"lng":13.4132}}' "https://mobilebox.dev/v1/phones/$phone/device"
```

## What you can set

On create, or later with `PATCH /v1/phones/{id}/device` or `set_device` over MCP.

| Field | What the phone gets |
| --- | --- |
| city | GPS, time zone and locale of the city, and its country: Berlin, London, Paris, Madrid, Rome, Amsterdam, Istanbul, Chicago, Seattle, Miami and more |
| country | A two-letter code: a matching time zone, locale and GPS position |
| location | Any GPS point, {"lat": 52.52, "lng": 13.405}; move it again for each step of a route |
| network | A home (residential, $8 per GB) or carrier (mobile, $15 per GB) IP in that country and city, sticky per phone |
| iPhone and iPad | city and country set the simulator's GPS too, $0.03 a minute |

## Questions

GPS and location on cloud phones.

How do I test GPS location on a cloud Android phone?

Create a Mobilebox phone with `city` or `country`, or set any point with `location {lat, lng}`. Apps read it as the phone's GPS position; time zone and language follow the city.

Can I simulate a route for a ride or delivery app?

Yes. Send a new `location` with `PATCH /v1/phones/{id}/device` (or `set_device`) for each point of the route while the app is open; your agent checks the screen after each move.

Does the IP match the location?

With `network: "residential"` or `"mobile"` the phone's traffic leaves through a home or carrier IP in that country and city, billed per GB. Your own SOCKS5 proxy works too.

Which maps apps work?

Any app you can install as an APK. The screenshot above is Organic Maps from F-Droid; apps that need Google Maps services run with `google: "microg"`.

Does the location stay?

Yes. City, country, location and network stay across park and start, so a parked phone comes back in the same place with its apps and logins.

## Read more

[Timezone, locale, GPS and IP are four different inputs Configure an Android sandbox for regional workflows without confusing locale or GPS with network egress, and debug an app that stays in English after the locale changed. Guides4 min read](https://mobilebox.dev/blog/locale-location-proxy?via=md) [Test your app on a bad network with an AI agent Make a cloud Android phone slow, lossy or offline with one setting, and let your agent check retries, timeouts and offline screens: presets, custom values, and what we measured on production, from ping times to the Wikipedia app’s searches on 2g and offline. Guides5 min read](https://mobilebox.dev/blog/test-app-bad-network-ai-agent?via=md)

## Try it in your agent in 60 seconds

Paste this into Claude Code, Cursor, Codex or any agent that can read a web page. It asks for your email, gets its own key at once and adds the phone tools; the 6-digit code from your inbox keeps the workspace.

```
Set up Mobilebox for me: read https://mobilebox.dev/setup.md?via=android-gps-location-testing and follow it.
```

[What your agent reads](https://mobilebox.dev/setup.md?via=android-gps-location-testing)

## Next questions

- [Can each phone get a residential IP?](https://mobilebox.dev/blog/residential-ip-per-phone?via=next-residential-ip)

- [Does my agent stay logged in between runs?](https://mobilebox.dev/blog/park-resume-android?via=next-logins)

- [Can I watch my agent work live?](https://mobilebox.dev/live-view?via=next-live)

- [What does it cost for a team?](https://mobilebox.dev/blog/mobilebox-pricing-for-teams?via=next-team)

- [How fast do cloud phones start, measured?](https://mobilebox.dev/benchmarks?via=next-benchmarks)

- [Is there a Python package?](https://mobilebox.dev/blog/android-phone-for-python-ai-agent?via=next-python)

- [Does my agent need a real device?](https://mobilebox.dev/blog/real-android-devices-vs-cloud-phones?via=next-real-device)

- [Can my agent automate tasks in my apps?](https://mobilebox.dev/app-automation?via=next-automation)
