A Service running in background every time must end with the battery or be
killed by the os. Make a Service that run, do your work and see
AlarmManager to start the Service again.

2012/8/1 bob <[email protected]>

> Maybe look at this?
>
> http://developer.android.com/reference/android/app/Service.html
>
>
> On Monday, July 30, 2012 1:44:39 AM UTC-5, Vijay Krishnan wrote:
>>
>> Hi all,
>>          In my case,i want to update the user latitude and longitude in
>> background when he is out of the application.
>>
>> 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

Reply via email to