Reafidy
Reafidy

Reputation: 8431

Set GPS Location in Emulator using Android Studio

In eclipse you can set a GPS location for the emulator using:

Select Window > Show View > Other > Emulator Control.

In the Emulator Control panel, enter GPS coordinates under Location Controls as individual lat/long coordinates, with a GPX file for route playback, or a KML file for multiple place marks. (Be sure that you have a device selected in the Devices panel—available from Window > Show View > Other > Devices.)

Is this possible in android studio?

Upvotes: 20

Views: 63264

Answers (3)

RAHINUR RAHMAN
RAHINUR RAHMAN

Reputation: 141

On the Right Side of Your Android Emulator Where (Power Button ,Speaker , Camera etc Sign are given Find Three Dot Sign(...) at the last of that column. click on that then Click on location and Set the Latitude and longitude

Upvotes: 8

Umesh
Umesh

Reputation: 1609

Tools --> Android --> Android Device Monitor

If your emulator is running and not offline, you will get window like in eclipse to set Emulator control.

Upvotes: 25

nedaRM
nedaRM

Reputation: 1827

From the docs

If you want to debug your app with the Android Debug Monitor, you can launch it by clicking Monitor in the toolbar.

Upvotes: 16

Related Questions