> I'm wondering if I just leave it running, if the OS will eventually
> kill it because nothing is bound to it and it is inactive.  Can I
> count on that?

No. If you start a service with startService() it is supposed to quit
itself, otherwise it will never die. It's best to pick one of bind or
start and stick with it, unless you are really sure what you are
doing. Don't worry about the service dying, remember that a service is
just a lifecycle construct. If you bind() to it in each activity when
your activities are gone the service will go away too.
--~--~---------~--~----~------------~-------~--~----~
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