title: open and close database Connection in android?
body: <p>i searched lot questions but i didnt get correct answer.
  What is the best way to open and close the database in activity lifecycle.
  please someone help me with correct answer.</p>
  
  <p>Thanks in advance.</p>