I took the latest sqlite proxy code from github. After 3 days, I finally figured out how to remove the errors from the code and get it running to the previous state.
But the database table is still not created. I have the SqliteProxy.js and SqliteConnection file.js which is supposed to create the table(I assumed).
Any suggestion is welcome.
Thank you in advance.
I have a question, and i wish someone teach me...
I'm trying to make backup system in my app.
Is it possible that dynamically reload store from sqlite database ?
My app is sencha touch(1.1.1) with phonegap(1.5).
My condition is...
1: copy websql file to another directory as "buckup.db".
2: save new record to the store. and new one is in the list.
3: copy "buckup.db" to original place back (with original name).
4: store.load(); and refresh list.
5: new one still in the list.
6: I quit app. and restart. new one disappear correctly.
I hope that new one could be disappeard in 4 (without restart app).
Any Idea ? please !
Does this work for offline storage of data ?? Because as of now when I clear the browser cache the database empties
Hey this should work perfectly with offline storage. I did this in multiple apps.
What I do is trying to load data from external and save this data into the database. Next time I try to load data from external I can load the "cached" data if the request fails.
I tried to build your sqlitedemo in phonegap for android but it did not work well. is there anything i'm missing?
here's the error:
E/Web Console(537): Uncaught Error: [Ext.Loader] Failed loading 'app/util/InitSQLite.js', please verify that the file exists at file:///android_asset/www/sdk/sencha-touch-all.js:8010
Sencha Premium Member
IS the MVC SqLite available ?
After dowloading the lastest github sources, i'm not able to make it work in a MVC structure , does it will take long to be available ?
Sencha Premium Member
ok thanks , i missed this one
Can u plz tell me, How to add the differenrt file
in the project structure.
Same Above problem is coming
Ext.DbConnection.dbConn is undefined...
27 Mar 2013, 12:52 AM
i'm trying to use this for reading some data from a database
i've managed to remove the errors (working on ST2.1.1) ,but i still can't figure out how to get it working
i tried to see how sqlDemo works,but i can't even find its database, i'm stuck
any one can help?