Many thanks Mark for that explanation. I see what's happening now... but am struggling to resolve it.
When I call unbindService(m_connection), the onDestroy() method of the service is called. This is where I do all my cleaning up and thread stopping. However, in instances where the activity has been paused and resumed, the same call to unbindService() does not result in the onDestroy() method being called. Perhaps I shouldn't be doing my clearing up in onDestroy() - but it still begs the question "why doesn't it get called". It means the service is still hanging around. -- 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

