Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Why doesn't the SDK provide for the programmer to add WiFi profiles (EAP) easily?

I am trying to programmatically create enterprise WiFi profiles on Android (WPA-Enterprise, WPA2-Enterprise).

I have seen a fairly famous solution, which is to use reflection in order to achieve this. To my understanding, if it has to be done in such indirect manner which involves gaining access to portions of an API that have been denied access to, there has to be a good reason for it.

Does this mean that Google does NOT want developers to be able programmatically configure WiFi settings ? If so, what could be the reason for this ?

like image 997
Heshan Perera Avatar asked May 22 '12 14:05

Heshan Perera


1 Answers

Android JellyBean 4.3 has added this functionality to it's API:

http://developer.android.com/reference/android/net/wifi/WifiEnterpriseConfig.html

like image 108
BlackHatSamurai Avatar answered Oct 11 '22 16:10

BlackHatSamurai