views:

53

answers:

2

Hi , I need to write a background service to get latitude and longitude values. I have an android application in which it has to find where the user is currently.So i seemed of getting the values of latitude and longitude values. Is there any way programatically to get the values from the system services or even program giving the values of lat,long is better for me. Any suggestions on this will be appreciable. I am in real help,so i am in fond of your suggestions soon. Thanks in advance!!!

A: 

Use LocationManager. The documentation covers this. Here is a sample application showing its use from a service.

CommonsWare
Thanks for your suggestions!!!!!!!
Ganesh
A: 

In last days i write a application to resolve my requirement you can read here http://geekswithblogs.net/anirudha/archive/2010/09/01/how-to-get-latitude-and-longitude-from-google-map-api.aspx

steven spielberg
Thanks for your suggestion steven
Ganesh