android - Check programmatically if open WLAN network is really open -


there 2 kinds of open (unencrypted) wlan networks: 1 open , provides ip , network access after connecting it, , 1 additional authentication necessary after connection (typically via webpage special credentials have entered belong provider of service).

is possible find out kind of "open" network available before connecting it? possibly somehow via scanresult objects returned result wifimanager.startscan()?

thanks!

is possible find out kind of "open" network available before connecting it?

in short, no. android wifimanager (and, indeed, computers' networking drivers / stack) concerned low level communications. looking @ osi model, physical level, data link level , network level.

wlan hardware, drivers etc have concerns include scanning available aps , verifying whether offer 'open' access or require authentication although in latter case concerned wep/wpa style authentication , doesn't consider higher level of control / security @ transport layer, session layer etc

the sort of authentication via web pages describe requirement in pubs, cafes, hotels etc wlan 'ring-fenced' , http traffic has go through http proxy server (which possibly imposes content-screening / blockng). in case of sort of wlan service, web traffic allowed - instance attempting connect outside world other protocol http/https prevented.

consequently, wlan (or lan) client hardware, drivers, stacks has no way of discovering is/isn't allowed or required when attempting connect remote / external sites , services.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -