Of course, whenever you get a new location fix, the listener will call your onLocationUpdate function, at that point you tell your web service (by perhaps using something like AndroidHttpClient) your new location.
kris On Thu, Jul 12, 2012 at 9:23 AM, Vijay Krishnan <[email protected]> wrote: > yes i know about location listener.my need is whenever my location changes i > want to update it to my server.Is this possible by using service. > > > On Thu, Jul 12, 2012 at 3:59 PM, pushpa nc <[email protected]> wrote: >> >> Use Locationlistener class to get the location info and upload the data to >> server when location changes. Refer the below link. >> >> >> http://developer.android.com/reference/android/location/LocationListener.html >> >> >> On Thu, Jul 12, 2012 at 3:54 PM, Vijay Krishnan <[email protected]> >> wrote: >>> >>> Hi all, >>> I want to update my phone location to the server whenever >>> location changes.How should i do this? Is using a service the best way to >>> do this? >>> >>> Thanks, >>> vijay.k >>> >>> -- >>> 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 >> >> >> -- >> 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 > > > -- > 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 -- 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

