I’m a new android developer and developing an application that has a login screen.
When the application starts it checks if the database (LoginDB) exists or not. If it does not exist then I want to create the database, create the table and insert 1 row. If the database exists then it will continue the application execution.
How do you find out if a particular database exists and if the needed table is already there or not.
Im using android 2.2
To find the table is exists or not in the perticular db.