22 Mar 2013 2:17 AM #1
ST 2.2 beta 2 new SQLite Plugin
As seen in the changelog : "Added Native SQLite plugin".
Is there any doc available ? Any example on how to implement this ?
Is this also available for web apps, or only for "native" packages ?
23 Mar 2013 6:36 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
There is no documentation yet for this or examples. Right now you would have to rely on reading the code.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
26 Mar 2013 1:19 AM #3
Does anyone know how the SQLite-database is stored on the device? Is it stored in the browser cache or in the native file system?
26 Mar 2013 5:32 AM #4
The same as the local storage, in the browser's cache (and yes, iOS 6 can wipe it without telling you)
26 Mar 2013 6:25 AM #5
26 Mar 2013 6:39 AM #6
Ah, maybe then. This plugin seems to be for sencha wrapper (to generate native apps, such as apk for android). It may be some sort of bridge plugin to allow writing sqlite files on the devices instead of the browser cache. I know that phonegap uses some kind of trick like this.
My previous answer was about web sqlite in general, not about this "native sqlite" plugin which I haven't used yet.