Re: [android-developers] How to check whether connected wifi network is secured or not

2012-04-24 Thread Chris Stratton
On Tuesday, April 24, 2012 7:08:06 AM UTC-4, Mark Murphy (a Commons Guy) wrote: > > On Tue, Apr 24, 2012 at 6:40 AM, Bunty syed wrote: > > But there are no APIS available in the WifiInfo to check the security > > -- WifiConfiguration tells you what was possible, not what was > negotiated for thi

Re: [android-developers] How to check whether connected wifi network is secured or not

2012-04-24 Thread Mark Murphy
On Tue, Apr 24, 2012 at 6:40 AM, Bunty syed wrote: > But there are no APIS available in the WifiInfo  to check the security > protocol like  security type ,encryption type or password > authentication required or not for the currently active wifi network. WifiInfo does not, but WifiConfiguration

[android-developers] How to check whether connected wifi network is secured or not

2012-04-24 Thread Bunty syed
Hi Guys, I have one query. Actually I want my app to make network call only if device is connected to secured wifi network which requires authentication I am using following code... WifiManager wifi =(WifiManager) getSystemService(Context.WIFI_SERVICE); if(wifi !=