PDA

View Full Version : Does Sencha Touch support SQLite ?



Eugene Krivopaltsev
24 Oct 2010, 1:17 PM
Folks,

Trying to find a relevant example and APIs. I look at the API doc and seems Ext.data.LocalStorageProxy is a way to use HtML 5 local storage, what about SQLite ?

Thanks,

--eugene

gabrielstuff
25 Oct 2010, 3:19 AM
SQlite is not supported by SENCHA.
I've been looking to use it in safari console and so far, SQLite support by browser is not really revelant.
I know tomalex made sweet example in one of the million thread :

http://www.sencha.com/forum/showthread.php?110571-save-data-in-Iphone-database&highlight=sqlite

Eugene Krivopaltsev
25 Oct 2010, 3:34 PM
Hi Gabriel,

Before looking at Sencha stuff I played little bit with GWTMobile and found SQLite support there. I created example where I was able to track my locations in browser local DB. It works for IPhone and Android. Another words it seems SQLite support could be added...

wildaker
18 Nov 2010, 1:54 AM
SQlite is not supported by SENCHA

While the Sencha Touch API doesn't have any built-in "native" handling of SQLite, it's important to clarify that there's nothing to stop you using it in a Sencha Touch-powered app, and for certain purposes it's really the best tool for the job.

edspencer
19 Nov 2010, 9:36 PM
A WebSqlProxy is high on the list of priorities, though it's worth noting that the w3c has abandoned its attempts at creating a standard

tomalex0
11 Sep 2011, 11:53 PM
Just an update

Please have a look into http://www.sencha.com/forum/showthread.php?146465-SqliteProxy

I have started with sqliteproxy

Sasha172
1 Nov 2012, 2:25 AM
SQLite works Brilliantly with ST and ST2.

Just forget about the Sencha part, and make a normal Javascript call to the SQLite Db and proceed from there.