Possible Duplicate:
How can i check to see if my sqlite table has data in it?
Android check if database is empty
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?
I made a login authentication program using sqlite and I want it to check if there is no users to log in automatically