Comunicating with a PHP Script

Hello,

I am trying to develop a game both for ios and android. I am using the latest release, and for the communication, I use the network.request function. The thing is that I would like to make another android build using Corona’s 2011.319 build, so that it will work for AMRv6 and Android 2.0, but network.request is not available in that build.

Is there another way of communicating to a PHP script in that build? (I do not mind if it is javascript instead) If this were not possible, is there a build that features network.request and is usable in AMRv6 and Android 2.0?

Thank you very much,

Beñat [import]uid: 196965 topic_id: 33749 reply_id: 333749[/import]

The socket library is pretty old… I heard people once used that for network communication (instead of network.request), back in the not so “good old days”…

http://docs.coronalabs.com/api/library/socket/index.html

But it’s not asynchronous… Your app has to wait until the call completes (server replies)…

Can’t really help you much other than pointing in that direction, I use network.request… Best of luck. [import]uid: 79933 topic_id: 33749 reply_id: 134132[/import]

The socket library is pretty old… I heard people once used that for network communication (instead of network.request), back in the not so “good old days”…

http://docs.coronalabs.com/api/library/socket/index.html

But it’s not asynchronous… Your app has to wait until the call completes (server replies)…

Can’t really help you much other than pointing in that direction, I use network.request… Best of luck. [import]uid: 79933 topic_id: 33749 reply_id: 134132[/import]