Android 连接 WiFi
https://stackoverflow.com/questions/4249911/android-how-to-create-eap-wifi-configuration-programmatically
redirects to
https://stackoverflow.com/questions/4374862/how-to-programmatically-create-and-read-wep-eap-wifi-configurations-in-android
https://stackoverflow.com/questions/19170260/how-to-connect-to-wpa-eap-wifi-on-android-with-4-3-api
Android 6.0 changes
https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-network
working methods
https://stackoverflow.com/questions/12486441/how-can-i-set-proxysettings-and-proxyproperties-on-android-wi-fi-connection-usin
get real ip https://stackoverflow.com/questions/39335525 connect to wifi https://stackoverflow.com/questions/8818290
android added support to eap wifi in API 18 (4.3), a lot of tutorials online are outdated.
use WifiEnterpiresConfiguration.