Skip to main content
Participant
June 16, 2011
Answered

Beginner Question about AIR...

  • June 16, 2011
  • 1 reply
  • 380 views

Hi,

I plan on building an app for iOS and Android as well as Mac and PC.  My question is this:

Can I build an app for Android and iOS using AIR that connects to a central program on a PC or Mac also made on AIR through a wireless connection?

What would the simplest way to do this?  Is it even possible?  Thank you!

   - DigitalAce7

This topic has been closed for replies.
Correct answer

Use sockets.

On mobile devices AIR provides the socket class (flash.net.Socket) to implement client functionality. Desktops further provide flash.net.ServerSockets, so your project should be possible in AIR. I've never tried it, though....

Best regards

LLD

1 reply

Correct answer
June 17, 2011

Use sockets.

On mobile devices AIR provides the socket class (flash.net.Socket) to implement client functionality. Desktops further provide flash.net.ServerSockets, so your project should be possible in AIR. I've never tried it, though....

Best regards

LLD