I am creating a new app using phonegap (html and javascript) and am using an SQLite database. Due to phonegap limitations and my need for a dynamic database I am following these steps:
1 – creating an external database
2 – exporting this with the .apk file
3 – on app load I replace the phonegap database with my database
The issue I am having here is working out whether ‘LocalFileSystem.PERSISTENT’ or TEMPORARY. It looks like it is persistent. However, I am not sure how I can root my device allowing me to access and replace the database within the relevnt ‘LocalFileSystem.PERSISTENT’ section.
Thanks
By default your SQlite database is created at:
For using already created database see this.