How to pass information into app?

If I am running the app as part of a website, how do I pass information to it?

I would guess that you could write a JavaScript plugin (Corona to JS is pretty easy, posts on the blog about it) that would let you use HTTP GET or POST requests, parse them into a JSON object and send it to your Corona app as an event that you listen to, then just json.decode() the data you sent in.

You might want to also look through this forum and see what other solutions/examples people came up with using the JS to Corona interface.

Rob

Thanks, I found an example in the “getting started thread” that didn’t initially work for me, but after a bit of tweaking it did. 

Incase it helps someone else: https://github.com/prographo/coronajsplugin