Wednesday, August 1, 2012

Re: [android-developers] Re: how to run a service in background when the user is out of android application

That's not really a good idea either, it's not clear what the OP wants
to do within the service.

Typically you do something like set up a call back to receive location
updates or something similar...

kris

On Wed, Aug 1, 2012 at 11:12 AM, Gabriel Augusto
<gabrielaugustodm@gmail.com> wrote:
> 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 <bob@coolfone.comze.com>
>>
>> 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 android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscribe@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+unsubscribe@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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment