title: Specify max sqlite db size for my app. How to handle db full exception
body: <p>I was asked in an interview how can we set max size for sqlite db for our android app. And how can we handle when max size is reached?</p>
  
  <p><strong>EDIT</strong>: Marina Lynn's answer below seems acceptable to this question. But Are there some sort of listeners which are triggered when the db size reaches near the limit we have specified? (Or something like this)</p>