Kostya, Thanks a lot for the quick reply.
I understood that it can't be done without using reflection, but I use reflection in my program. Currently am just trying to define the access point and manually trying to connect. Unfortunately now am able to connect to the secured network and getting DHCP assigned IP address. But, the problem is that am not able ping my org proxy or any other PC. Do I need to install any specific certificated from my network admin on my device to access the network completely. Or do I need to do any more authentication after it gets connected to the network???? Regards, Rajendra On Monday, April 9, 2012 7:06:05 PM UTC+5:30, Kostya Vasilyev wrote: > > For debugging, you might want to set up a test network with freeradius, > and watch the logs. > > Also, configuring and connecting to 802.1x secured networks, is, AFAIK, > not something third party applications have access to. > > There are undocumented functions, somewhat varying with platform versions, > but they are 1) undocumented 2) inaccessible without reflection. > > Besides configuring the WiFi side of things, you also need to make sure > the device's certificate store is unlocked before you try to connect (at > least prior to Android 4.0). > > In short, if you really really really needed this, it could be implemented > but there are limitations and the result would be somewhat fragile. > > -- K > > 9 апреля 2012 г. 16:43 пользователь Raj Chinna написал: > >> Hi, >> >> I am programmatically trying to configure our organization WiFi access >> point which requires the following settings, >> >> *Sec.Type : *WPA2-Enterprise >> *Enc.Type : *AES >> *Net.Auth.Method : *PEAP >> >> Also it requires the org Active Directory user name and password for >> authentication. >> >> *In iPhone I could easily able to configure this with the >> WPA2-Enterprise security type with AD user name and password. * >> >> But, in Android I could configured the same access point with the >> following details. >> >> *Security : *802.1x EAP. >> *EAP Method :* PEAP >> *Phase 2 authentication : *None. >> *CA Certificate : *Unspecified. >> *user certificate :* Unspecified. >> *Identity : *ad user name. >> *password :* ad password. >> >> Once I configure the about network it authenticates and connects to the >> network with valid ip. >> >> But, the trouble comes here, even after connecting to the network am not >> able to browse anything also not even able to ping laptops which all >> are connected in the same WiFi network. >> >> Any pointers or suggestions needed. >> >> Regards, >> Rajendra >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

