ContentProviders are instantiated at system startup and remain "alive" until the system shuts down.
I have a ContentProvider that binds to one of my (local) services (which is most likely not already running) and so would like to unbind at some appropriate time. If unbindService is not called then the Service will remain running until the system shuts down. I assume this is bad. When the service stops, appropriate db connections are closed. The question is, when to call unbindService()? My initial thoughts are to wrap any returned Cursors to monitor when all returned Cursors have been closed. -- 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

