Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find available wi-fi networks

How can I find and list all the wi-fi networks in range?

like image 563
NTTake Avatar asked Apr 25 '12 13:04

NTTake


People also ask

Why can't I see all available wireless networks?

The list of wireless networks takes time to update. If you have just turned on your computer or moved to a different location, wait for a minute or so and then check if the network has appeared in the list. The network could be hidden. You need to connect in a different way if it is a hidden network.

How can I find out if I have Wi-Fi in my area?

In Windows, go to Network and Internet, and then Network and Sharing Center. Select the blue WiFi link to see the signal strength. On an Android phone or tablet. Look under Settings, WiFi, or Network, and search for a gear or WiFi icon next to the network you're connected to.

How do I see all Wi-Fi networks on Android?

In your advanced Wi-Fi settings, select Manage networks. This is usually found beneath Network Settings. Now you'll see a list of all the Wi-Fi networks currently saved on your phone.


1 Answers

As far as I know you can get the information about the current connected Wi-Fi using CNCopySupportedInterfaces and CNCopyCurrentNetworkInfo of CaptiveNetwork. You can refer to: How do I use CaptiveNetwork to get the current WiFi Hotspot Name for more information.

According to iPhone get a list of all SSIDs without private library:

Without the use of private library (Apple80211) you can only get the SSID of the network your device is currently connected to.

You could have a look at iphone-wireless project if you are interested in Apple80211. There exists a sample app "Stumber" which does exactly what you want. But you cannot use this in your app if you want to publish to App Store because as it uses private APIs. Apple rejects apps those use private APIs.

like image 122
Hailei Avatar answered Oct 12 '22 02:10

Hailei