-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open existing database from other sources #10
Comments
From: http://gauravstomar.blogspot.ca/2011/08/prepopulate-sqlite-in-phonegap.html see https://groups.google.com/forum/?fromgroups#!topic/phonegap/dSnm2dTzPi4 document how to work with pre-populated SQLite databases |
PhoneGap thread: https://groups.google.com/forum/?fromgroups#!topic/phonegap/XlenKNxmoqE From Avinoam: http://androidblogger.blogspot.com/2009/05/how-to-ship-application-with-pre-baked.html http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ It will need automatic testing to verify that this is working right, see #4 |
Does this apply to Cordova-SQLitePlugin? From: http://gauravstomar.blogspot.ca/2011/08/prepopulate-sqlite-in-phonegap.html Why you need 2 db instead of one? Probably you can create an example how to do this properly using Cordova-SQLitePlugin? Why do we need Cordova-SQLitePlugin for when you can create using this instruction (below)? From: http://gauravstomar.blogspot.ca/2011/08/prepopulate-sqlite-in-phonegap.html What is the difference of having Cordova-SQLitePlugin or without one? |
On Fri, Apr 27, 2012 at 5:37 AM, Noli Sicad
|
Link http://gauravstomar.blogspot.com/2011/08/prepopulate-sqlite-in-phonegap.html needs adaptation for SQLitePlugin, also SQLCipher version in the future. |
From #34, which has been closed as a duplicate of #10: thanks to @sebumd On Wed, Aug 8, 2012 at 9:30 PM, sebumd [email protected] wrote:
|
Great! I will be blogging about a cross platform solution as I'm working on porting my app to iOS from Android. Stay Tuned. |
Here is a full tutorial about how I was able to use a pre-populated DB with SQLite, This plugin, and PhoneGap. Enjoy! I hope this helps someone. http://www.corporatezen.com/shipping_prepopulated_database_with_phonegap |
@sebumd I did not see a link in your message. Did you want to add another link? |
It is easy for an application to open and read its own database files using the plugin interface. However quite a few people want to open a database file that was generated from another source. It would be nice to come up with an API, preferably a portable API, that can be used to open a specific database file path.
The text was updated successfully, but these errors were encountered: