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 != null){
WifiInfo info =
wifi.getConnectionInfo();
}
WifiInfo info is the currently active wifi network on the device.
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.
Thanks & Regards,
Ashiq Sayyad
--
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