4

I want to get longitude and latitude in android Simulator(ported in Android x86)for testing.

Can any one guide me how to achieve this?

How do I set the location of the emulator to a test position?

sAaNu
  • 1,428
  • 7
  • 21
  • 46

2 Answers2

7

You can use "Fake GPS location" application from Google play for emulating GPS location.

Krivers
  • 1,986
  • 2
  • 22
  • 45
1

You might want to at this:

http://developer.android.com/guide/developing/debugging/ddms.html

under Setting the location of the phone

Or here http://developer.android.com/guide/topics/location/obtaining-user-location.html#MockData

Jordy Langen
  • 3,591
  • 4
  • 23
  • 32