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 <vijay.vijay...@gmail.com>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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to