title: Android database save
body: <p>I'm using a database to store and read my data, but I am not sure when my database is saved.  I didn't find anything like <code>db.save()</code>, so should I assume that my database is saved when I close it?  Should I close it also in onPause() (for saving my data)?</p>