I am developing a mobile application using phonegap that store some data into the local database (sqlite DB).
I need to know if the database exist or not, and that to determ
The best way for determining if the DB exists or not is to check if the file that represents it exists. This is a simple IO operation, like the following example: