Page 2 of 3
I can not connect the app with a local database
Posted: Thu May 10, 2012 6:17 pm
by mauricio flores
Thanks for your response, but We talking about DB like sqlite... how we can combine tiggzi with a some function or method to insert, query, update and delete persist data on local DB.. can you give us some idea..?
I can not connect the app with a local database
Posted: Thu May 10, 2012 7:31 pm
by maxkatz
Ah.. you can use the database API directly or use PhoneGap to access it: http://docs.phonegap.com/en/1.7.0/cor...
I can not connect the app with a local database
Posted: Mon May 14, 2012 4:18 pm
by mauricio flores
Hello Max, thanks for yours answer, we could connect to the local database (SQLite), but there Tiggzi objects (list and checkbox) down work fine..!, we must necessarily work with the REST service to use list or checkbox tiggzi's objects ?, list and checkbox tiggzi's objetcs only work on the cloud?, How we can uses list and checkbox with a local database?. Is posible emulate or runs REST API (services) on the android, to use all functions of tiggzi locally?
I can not connect the app with a local database
Posted: Mon May 14, 2012 4:34 pm
by maxkatz
Yes, if you export the app as Android, you will get all the functionality.
I can not connect the app with a local database
Posted: Mon May 14, 2012 4:39 pm
by mauricio flores
Please, confirm that...is possible use tiggzi to deploy a complete native application, using local Database?, using all database interface tiggzi's objects (list, select,checkbox)?
I can not connect the app with a local database
Posted: Mon May 14, 2012 4:57 pm
by maxkatz
Tiggzi is an app builder (think cloud IDE), it's up to you what app you build. With Tiggzi you can build a hybrid apps (PhoneGap).
I can not connect the app with a local database
Posted: Mon May 14, 2012 5:10 pm
by mauricio flores
Thanks Max for your response... about "export the app as Android", I talk about emulate "the Cloud" on the android to run a standalone app, using REST API enable in tiggzi. Do you got some documentation or link about that?, how we can use REST API functions with a local sqlite database?.. sorry, we dont repeat the questions, we only want know how do it?
I can not connect the app with a local database
Posted: Mon May 14, 2012 8:18 pm
by maxkatz
When you export the Android app, you will get all the resources your apps uses. When you start the app, you could create the SQLite database on the phone and load any data into it, as an example.
If you want to work with JSON in the local database, you could use a Generic Service: https://getsatisfaction.com/tiggzi/to...
I can not connect the app with a local database
Posted: Tue May 15, 2012 4:24 pm
by mauricio flores
Max.. Thanks for your patients... and good attention... we are working with the information you gave us, we understand how it works rest. Thank you very much.
I can not connect the app with a local database
Posted: Tue May 15, 2012 9:50 pm
by marĂa
I set up REST services for Parse type tools and REST server on a remote server to check my database. Now if you want to work with a local SQLite database, can emulate Tiggzi an xml or json REST service to connect to that database? how?
Our idea is to work entirely on the device offline. In what language should schedule my REST service on the device?