Page 3 of 3

I can not connect the app with a local database

Posted: Tue May 15, 2012 11:30 pm
by maxkatz

I don't believe SQLite works with JSON, you can look at API here: http://docs.phonegap.com/en/1.7.0/cor....
Other people are looking for something similar:
https://www.google.com/search?sourcei...

Once you can easily get/save JSON into a storage, you could wrap it in Generic Service.


I can not connect the app with a local database

Posted: Mon Jun 04, 2012 8:38 pm
by Gail

I've read that you can connect to Apple's Core Data framework via REST. You could build your app in Tiggzi, export the source, then add in the Core Data framework and make the necessary updates to the xcode files. Of course this only works for iOS devices.

It would be nice if Tiggzi would integrate the Core Data framework into their App Builder so we could easily connect to a local/native database via REST. Tiggizi, you could charge an extra fee for this advanced functionality, or just add this functionality to your existing Pro package.


I can not connect the app with a local database

Posted: Mon Jun 04, 2012 8:55 pm
by maxkatz

If you can connect to it via REST, then you can do it today, you don't need any plug-ins. I searched for it and it seems to be a native feature -- so I doubt REST will work.

Our native capabilities are coming from PhoneGap and its API. I don't think PhoneGap provides this API out of the box but you could see if a plug-in is available.


I can not connect the app with a local database

Posted: Mon Jun 04, 2012 9:16 pm
by Gail

Here's a page which mentions how RESTKit interacts with Core Data: http://restkit.org/ I'm guessing this means you (Tiggzi) would have to install the RESTKit Framework in your app builder system.

And for any programmer's out there, here's a link to the Core Data Programming Guide:
https://developer.apple.com/library/m...


I can not connect the app with a local database

Posted: Mon Jun 04, 2012 9:34 pm
by maxkatz

RESTKit is a native iOS library, so it can't be installed in our builder. In Tiggzi, you build a mobile web app or a hybrid app via PhoneGap. As I mentioned, if you are looking to work with REST services, you can use any REST service without any additional libraries.