I created a new database from outside and placed it in the resource folder listed here. http://gauravstomar.blogspot.in/2011/08/prepopulate-sqlite-in-phonegap.html . I used the code in my activity, and the database was successfully copied to the appropriate folder. Now I canβt figure out how to access data from this database. The function window.openDatabase(database_name, database_version, database_displayname, database_size);creates a new database and replaces it with the existing one.
I want to know is their way of doing this?
source
share