Skip to content Skip to sidebar Skip to footer

Phonegap Store Local Db

I have a bulk of data in my app. I need it in case the app runs offline. Currently I have it in a data.js file and use the jQuery data function to manage it. There are 1800 lines l

Solution 1:

My recommendation is for you to pre-populate a SQLite DB and on application startup copy the DB to the correct location so your app can access it. There is a good blog post on this topic at:

http://gauravstomar.blogspot.com/2011/08/prepopulate-sqlite-in-phonegap.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+GauravSTomarBootstrappingIntelligence+%28Gaurav+S+Tomar+%3A+Bootstrapping+Intelligence%29

Post a Comment for "Phonegap Store Local Db"