Android: How to create EAP wifi configuration programmatically?

前端 未结 2 838
谎友^
谎友^ 2021-01-20 08:07

I know how to create Open/WEP/PSK/PSK2 configuration programmatically.

ex.

WifiConfiguration conf = new WifiConfiguration();
conf.SSID = \"ssid\";
co         


        
相关标签:
2条回答
  • 2021-01-20 08:45

    Java Reflection API can be used to create IEEE802.x network with certificate. You can directily create IEEE802.x network connection is earlier version (like 1.6). In latest android the "EnterpriseField" (a inner class) is not directily accessible through program.

    0 讨论(0)
  • 2021-01-20 08:46

    I answered this here: How to programmatically create and read WEP/EAP WiFi configurations in Android?

    hth :)

    0 讨论(0)
提交回复
热议问题