Is this only accomplished by using SQLite? Is there a template to achieve “integrating our app with a website or database”?Thanks. [import]uid: 88495 topic_id: 34770 reply_id: 334770[/import]
let’s say you have a mysql database and you want your app to interact with it. Easiest way IMO is to do the following:
- write php scripts that can interact with the database
- make these PHP scripts accessible via the web
- have your app use network.request to talk to those php scripts. php scripts handle the logic and return the results based on success/failure [import]uid: 32462 topic_id: 34770 reply_id: 138163[/import]
Take a look at this blog post. It should get you started:
http://omnigeek.robmiracle.com/2012/04/15/using-corona-sdk-with-rest-api-services/
[import]uid: 199310 topic_id: 34770 reply_id: 138192[/import]
let’s say you have a mysql database and you want your app to interact with it. Easiest way IMO is to do the following:
- write php scripts that can interact with the database
- make these PHP scripts accessible via the web
- have your app use network.request to talk to those php scripts. php scripts handle the logic and return the results based on success/failure [import]uid: 32462 topic_id: 34770 reply_id: 138163[/import]
Take a look at this blog post. It should get you started:
http://omnigeek.robmiracle.com/2012/04/15/using-corona-sdk-with-rest-api-services/
[import]uid: 199310 topic_id: 34770 reply_id: 138192[/import]