Automatic authentication for Android WiFi Direct

前端 未结 2 796
误落风尘
误落风尘 2021-01-31 00:15

In Android ICS, Wireless P2P (WiFi Direct) API is provided.

I tried to develop an Application which can connect 2 phones via Wireless P2P automatically if the MAC addres

2条回答
  •  花落未央
    2021-01-31 00:36

    In the mean time the situation has changed. You can create a wifi direct connection fully automatic using creategroup() of the WifiP2pManager and the fetch the randomly generated password and SSID with onGroupInfoAvailable(), see this description with example code.

提交回复
热议问题