Any way to connect with a MySQL Database?
Hello. Is there any way using Titanium Mobile 1.4 to connect with a remote MySQL Database? I really need to know ASAP for my App.
3 Answers
-
Accepted Answer
Have you seen my post here.
I think you will find that this explains how to do this.
Cheers Greg
-
The easiest way might be to use a RESTful API on your server and use Titanium.Network.HTTPClient-object to communicate. I don't believe there's a way to connect to databases outside your Resources directory.
-
I'm reading this article at the moment as I need to communicate with MySQL DB. Hope it helps.
http://www.gen-x-design.com/archives/create-a-rest-api-with-php/
Good luck
Mark