Android content provider solution
brodybits opened this issue · 0 comments
brodybits commented
As discussed in storesafe/cordova-sqlite-storage#309 & storesafe/cordova-sqlite-storage#601 it may be possible to use a content provider with https://github.com/phearme/cordova-ContentProviderPlugin to store and access data from both JavaScript and custom Java code. I found a couple nice looking tutorials at:
- https://www.tutorialspoint.com/android/android_content_providers.htm
- http://www.vogella.com/tutorials/AndroidSQLite/article.html (more specific to SQLite)
This may be a nice alternative solution to the "multiple sqlite problem" discussed in storesafe/cordova-sqlite-storage#626.