2

is it possible to connect my game/apps installed on separate android &iOS devices with AS3 / Air to communicate either through wireless (without access point), maybe WiFi direct or hotpot or any other means?

in fact i want devices connect each other anywhere, anytime - even when they don't have access to internet, like transfer file apps (Zapya,share it,...)

FYI recently i search a lot but unfortunately i don't find ANE(Air Native Extension) or library for do this

  • 1
    Did you look into this? http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/ServerSocket.html – Organis Jun 25 '17 at 11:01
  • as I know the AIR Socket communication works only in Desktop application – Yoones Mashayekhi Jun 27 '17 at 14:44
  • Also i want the Devices connect each other without any internet access point like transfer file apps (share it, zapya, ...) – Yoones Mashayekhi Jun 27 '17 at 14:47
  • Quote from the prtovided link (it is a good practice to actually read the answers you get): *AIR profile support: This feature is supported on all desktop operating systems, on iOS (starting with AIR 3.8), and on Android (starting with AIR 3.8).* – Organis Jun 27 '17 at 14:49
  • I read that your link carefully even create the example of that link but as [link](https://stackoverflow.com/questions/15181993/air-for-android-socketserver-over-wifi) i didnt get my answer because socket communication (if even answer in android or ios devices ) needs server to response the clients so the devices need internet to communicate each other – Yoones Mashayekhi Jun 27 '17 at 15:06
  • Yes, the main problem here is to figure the address of the server socket without additional services on the Internet. – Organis Jun 27 '17 at 15:17
  • Thank you @Organis , for more clarify I edit my question – Yoones Mashayekhi Jun 27 '17 at 15:26
  • @Organis do you know [link](https://allseenalliance.org) , is it help to find a solution? – Yoones Mashayekhi Jul 01 '17 at 16:25
  • Totally unfamiliar, sorry. Probably you should look into ANE creation tools. – Organis Jul 01 '17 at 20:09

1 Answers1

1

You may have a look of WifiDirectANE in github, but it is for Android only.

there are two tools, wifi and wifi-direct WifiANE can open WIfi,close Wifi ,openWiFiAp ,Close Wifi ap, get Wifi State etc... WifiDirectANE can let you device connect with other device by wifi-direct . in ane. i provide some function like : Look up near device , connect device ,createWifiGroup etc...

michael
  • 1,160
  • 7
  • 19