tgwizard/sls — pull request #37 by Argoday (2012-08-03 09:25:57+00:00)
Title: Cleanup Database Connection Usage

I spent awhile on this issue and in Android it certainly isn't clear what the 'correct' paradigm is.

This is the best that I have been able to come up with - which is to create an Application-wide Singleton and keep a proper count of connections so that the database can be closed properly on exit and allow resources to be released.