You can use the DDMS for sending mock location information to your 
emulator. Alternatively you can use the command line. Issue the following 
commands: 

1. 
telnet localhost 5554 
(5554 is the port number of the emulator. You can see this on the top left 
corver of the emulator. If you have multiple emulators running, their port 
numbers are going to be 5554, 5556, 5558, etc etc) 

2. 
geo fix <longitude> <latitude> <altitude> 
(The <altitude> above is optional, you can skip it if you want) 

Hope it helps. 

------------------------------------------------- 
Ali Chousein 
https://play.google.com/store/apps/details?id=com.apps.social_nav 
https://play.google.com/store/apps/details?id=com.apps.weather_buddy 
http://www.paygol.com/android/implementation


On Monday, July 9, 2012 5:53:55 AM UTC+2, Alfa wrote:
>
> it's work fine. thanks. i just cant use gps on emulator. cos i dont know 
> about emulator control.
> when i set the location use emulator control, it works fine. thanks.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to