asc36
Posts: 0
Joined: Tue May 08, 2012 3:44 pm

I can not connect the app with a local database

I have a local database in sqlite and I want to connect my application with this database, the problem is that I have no idea how.

I tried using REST but I can not connect the database, as I can do?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

I can not connect the app with a local database

Can you tell us what you tried and what doesn't work..?

Are you sure you can connect to a local sqlite via REST?

asc36
Posts: 0
Joined: Tue May 08, 2012 3:44 pm

I can not connect the app with a local database

I'm not sure I can connect via REST, not how to connect.

How I can connect?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

I can not connect the app with a local database

If you can't connect to it via REST, then you can't use it in your app. Also, the mobile app is running on your phone so it won't have access to your local database (it's just not clear where exactly it's installed). I suggest you try something like parse.com or stackmob.com for cloud-based database. You will find tutorials on how to use these services here: http://help.tiggzi.com/getting-started.

asc36
Posts: 0
Joined: Tue May 08, 2012 3:44 pm

I can not connect the app with a local database

to a local database I have not been able to connect, but if you want to connect to a database on a server (remote database) does not exist any tutorials on how to do?

asc36
Posts: 0
Joined: Tue May 08, 2012 3:44 pm

I can not connect the app with a local database

I have my database hosted on a remote server ([url=http://www.ixwebhosting.com)]www.ixwebhosting.com)[/url], and I connect with my application. From what I read I do with REST, but not how. When configuring REST,put the URL in the Host name, but I should not be placed in theRequest Parameters.

The question is, what are my Request Parameters?

Thanks,

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

I can not connect the app with a local database

I wouldn't know what request parameters your service requires. Every service is different. A REST service should provide documented on how to invoke the service, what request parameters are needed and what is the result.

mauricio flores
Posts: 0
Joined: Thu May 10, 2012 2:31 pm

I can not connect the app with a local database

We had the same problem with tiggzi, We need connect a local sqlite database to our app dev in tiggzi.. is possible?, How we can do that.. work with local storage with tiggzi?

Mauricio

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

I can not connect the app with a local database

Tiggzi is not the problem. Tiggz is the app builder, it is your app that connects to a database. If your database is available on the Internet and can be accessed via REST API, then the app you create in Tiggzi can access it. Hope this helps.

As for working with local storage, you can work with standard browser API:
setItem(key, value);
getItem(key);

Return to “Issues”