Maybe this is what you're looking for: Its not clear from the documentation the difference between startService() and bindService(). If you just bind to a service, the service will be killed after your activity calls unbind. If you call startService(), then it will (more or less) keep running regardless.
It's very easy to leak services that way, which is a bug everybody should be watching out for! Mark --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

