aaeonline — 2014-02-01T04:40:05-05:00 — #1
I'm newbie on mobile developer trying to develop android application with HTML5 , jquerymobile , php and mysql and then build android application in PHONEGAP cloud service.
But i don't understand how to coding connect online database not in local is it possible?. So i don't know i'm going on the right way or not.
Anyone help me:)?
midynamics — 2014-02-04T16:41:51-05:00 — #2
You can use the MySQL JDBC drivers. Specify access details into the app and use normal code to query the database.
The other option is to use web services to access, autheticate and excute control. You can write the webservice in PHP where it takes query from POST data and submits it to the database with the result written in JSON. The scirpt that you write will send the query where upon reply the JSON will be parsed and displayed.
aaeonline — 2014-02-05T02:40:25-05:00 — #3
Hi , midynamics
Thanks for the answer and i think coding with JSON is my choice.
system — 2014-10-08T01:33:42-04:00 — #4
This topic is now closed. New replies are no longer allowed.