Skip to main content
Known Participant
January 16, 2013
Question

Wifi-Direct in Adobe Air??

  • January 16, 2013
  • 1 reply
  • 1818 views

Hi ,

I have recently emarked on building a multiplayer game for my third year degree project.

I have built some little air apps already but thought it would be cool to try out some mutliplayer aspect.

I was wondering if:

a) Air supports multiplayer [local p2p/adhoc]

b) if Air supports wi-fi direct.

Wifi direct == "Wi-Fi Direct device connections can happen anywhere, anytime - even when you don't have access to a Wi-Fi network.  Your Wi-Fi Direct device will signal to other devices in the area that it can make a connection.  You can view available devices and ask them to connect, or you might receive an invitation to connect to another Wi-Fi Direct device.  When two or more Wi-Fi Direct-certified devices connect directly, they have formed a Wi-Fi Direct Group, using Wi-Fi Protected Setup™ and the latest Wi-Fi security. Now you can get started doing all the exciting things that Wi-Fi Direct enables!" ... wifi alliance

This topic has been closed for replies.

1 reply

Participating Frequently
June 13, 2013

I try to create a wifi connection to use local p2p

But it was not possible to connect to the other device via connection:

To find out more, I checked the networkInfo:

ni = NetworkInfo.networkInfo;

       

ni.addEventListener(Event.NETWORK_CHANGE,checkNetwork);

function checkNetwork(evt:Event):void

{

var ainterfaces:Vector.<NetworkInterface> = networkInfo.findInterfaces();

}

If I activate Wifi-Direct, actionscript dispatch an change event, but with the result that WIFI is deaktivated. No event will be fired after creating a wifi-direct connection. So I think it is not possible to use that feature. Would be a cool feature Request.