How to emulate GPS location in the Android Emulator?

前端 未结 30 2399
天命终不由人
天命终不由人 2020-11-21 22:15

I want to get longitude and latitude in Android emulator for testing.

Can any one guide me how to achieve this?

How do I set the location of the emulator to

30条回答
  •  别那么骄傲
    2020-11-21 22:31

    For the new emulator:

    http://developer.android.com/tools/devices/emulator.html#extended

    Basically, click on the three dots button in the emulator controls (to the right of the emulator) and it will open up a menu which will allow you to control the emulator including location

提交回复
热议问题