PDA

View Full Version : Examples for use of SQLite with sencha



snithya
10 Feb 2011, 10:39 PM
Hi,

I need a sample application or an example for use of SQLite with Sencha touch applications. Thank you. :)

AndreaCammarata
11 Feb 2011, 6:32 AM
You can not access SQLite on your iPhone / iPad with Sencha Touch, not by a simple web application.
However you can do it with some tricks using a mix of Sencha Touch plus Objective C, but I don't suggest you.

Hope this helps

tomalex0
12 Feb 2011, 12:32 AM
Hi,

We can use websqlite thats supported by iphone/ipad browsers .


I worked on this before, you can find more on this here
http://www.sencha.com/forum/showthread.php?105584-Login-Page-with-Manifest-feature-and-Webstorage.&p=570400#post570400

It seems w3c is no more working on on websql, instead they looking in to indexDb

http://www.w3.org/TR/webdatabase/

snithya
13 Feb 2011, 9:35 PM
Thanks a lot !! :)

AndreaCammarata
16 Feb 2011, 9:17 AM
You can access websqlite, but not native sql database on your iPhone iPad without use Objective C.
Thanks tomalex for sharing websql example ;)

berzerkdesign
8 Mar 2011, 2:56 PM
can a sencha touch app in a phone gap wrapper access and write to an sqlite lite database?

If not is there some sort of data base that the app can read and write too? that can also be updated from the web( in any form)?

Thanks in advance

sparkcom
29 Aug 2011, 11:31 AM
yes, an example will be useful on how to wrap phonegap's sqlite api with a sencha datastore

tomalex0
12 Sep 2011, 12:28 AM
Just an update

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

I have started with sqliteproxy