Hi,

I have a service running in the background. It starts on device boot.
Also, I have one activity (that appears in the task launcher) in which
I have provided buttons to start and stop the service.

Now, I install the application on the phone and I start the service
using this activity (and not on-device boot). As expected the service
starts and starts doing its designated task. I no-longer need the
activity. So it goes out of sight and may not be required for a long
time now.

My question is, now, if the android platform kills this activity, will
it kill my service too ? (This is because I see that after few hours,
my service is not running anymore.). If this is true, then will the
service continue running longer if the service was started on device
boot.

Regards,
Tejas

-- 
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