How does your Application class know when the app has finished?
<p>I've got a database singleton and I want to call .close() on it when the app finishes.</p>

<p>I can call .open() on the database in onCreate() in the Application class, but where do I call .close()?</p>
