How to emulate GPS location in the Android Emulator?

前端 未结 30 2422
天命终不由人
天命终不由人 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条回答
  •  闹比i
    闹比i (楼主)
    2020-11-21 22:33

    For a project of my own, I developed an online service which can provide simulated location to the Android emulator.

    It uses geo nmea rather than geo fix which allows it to set speed, course, precise time etc. in addition to just lat/lon.

    The service requires the nc (netcat) command line utility and nothing else.

    http://www.kisstech.ch/nmea/

提交回复
热议问题