Search code examples
androidwps

Connect to WPS WiFi


I want to make an app where the user activate the WPS clicking in the button of the internet box and after press to a button in the app and the app search automatically the WPS network.

But first I try to connect the user to a specific WPS Wifi. How can I do ?


Solution

  • I found the oslution using the WifiManager's startWps() method:

    mWifiManager.startWps(wpsConfig, mWpsCallback);