title: check if database is empty in android
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4397757/how-can-i-check-to-see-if-my-sqlite-table-has-data-in-it">How can i check to see if my sqlite table has data in it?</a><br>
    <a href="https://stackoverflow.com/questions/11251901/android-check-if-database-is-empty">Android check if database is empty</a>  </p>
  </blockquote>
  
  
  
  <p>Can anybody tell me how to check if sqlite database (in android) is empty or has tables and if it has tables is it empty or has values?</p>
  
  <p>I made a login authentication program using sqlite and I want it to check if there is no users to log in automatically</p>