Questions tagged [wifi]

GENERAL WI-FI SUPPORT IS OFF-TOPIC. Questions about hardware support should be directed to https://superuser.com. This tag should be used for questions about writing software that directly interacts with Wi-Fi devices.

Wi-Fi is a common synonym of wireless networking. Questions in this tag should be about writing software that directly interfaces with a wireless networking device. Do not use this tag for

  • Hardware support (those can be directed to Super User, a site specifically about technical support)
  • General networking questions. If your communication is merely over wireless networking then do not use this tag

General Information

The coverage of one or more (interconnected) access points — called hotspots when offering public access — generally comprises an area the size of a few rooms but may be expanded to cover many square miles, depending on the number of access points with overlapping coverage.

'Wi-Fi' is not a technical term. However, the Alliance has generally enforced its use to describe only a narrow range of connectivity technologies including wireless local area network (WLAN) based on the IEEE 802.11 standards, device to device connectivity [such as Wi-Fi Peer to Peer AKA Wi-Fi Direct], and a range of technologies that support PAN, LAN and even WAN connections. Derivative terms, such as Super Wi-Fi, coined by the U.S. Federal Communications Commission (FCC) to describe proposed networking in the former UHF TV band in the US, may or may not be sanctioned by the alliance. As of November 2010 this was very unclear.

The technical term "IEEE 802.11" has been used interchangeably with Wi-Fi, but over the past few years Wi-Fi has become a superset of IEEE 802.11. Wi-Fi is used by over 700 million people, there are over 750,000 hotspots (places with Wi-Fi Internet connectivity) around the world, and about 800 million new Wi-Fi devices every year. Wi-Fi products that complete the Wi-Fi Alliance interoperability certification testing successfully can use the Wi-Fi CERTIFIED designation and trademark.

Wi-Fi certified and compliant devices are installed in many personal computers, video game consoles, MP3 players, smartphones, printers, digital cameras, and laptop computers.

https://en.wikipedia.org/wiki/Wi-Fi

5934 questions
67
votes
5 answers

How to connect android wifi to adhoc wifi?

I'm new on the android system. Is this correct, the android 2.2.1 WIFI only detects non-ad hoc wireless network? I was wondering if there's a way to connect my android to an ad hoc network set-up from my laptop.
Cyril Horad
  • 1,555
  • 3
  • 23
  • 35
62
votes
4 answers

How to get name of wifi-network out of android using android API?

I thought that I should use NetworkInterface::getDisplayName. I got some name, but this name is different that this name which I can see, when I choosing to which network I want to connect.
noisy
  • 6,495
  • 10
  • 50
  • 92
58
votes
4 answers

Checking Wi-Fi enabled or not on Android

What would the code be for checking whether the Wi-Fi is enabled or not?
inforg
  • 749
  • 2
  • 8
  • 15
57
votes
7 answers

Wifi Connect-Disconnect Listener

Which listener does my class have to implement inorder to automatically check code if the wifi connects/disconnects? I'm able to manually check for wifi connection/disconnection but each time I need to connect/disconnect WIFI from android settings…
Neha
  • 569
  • 1
  • 5
  • 6
56
votes
4 answers

Android apps, communicating with a device plugged in the USB port

I'm thinking about an Android app (with possibly an accompanying physical device), and I'm trying to figure out whether this is something that's feasible. 1) Let's say I plug my Android to my PC. Would it be possible for an app installed on the PC…
Daniel Magliola
  • 30,898
  • 61
  • 164
  • 243
54
votes
9 answers

How to programmatically connect to a WiFi network given the SSID and password

I am trying to replicate an existing Android Application that I made to iOS. In my application, I should be able to connect to a WiFi network given the SSID and the Password. The SSID and the Password can be hardcoded or can be inputted by the user.…
Razgriz
  • 7,179
  • 17
  • 78
  • 150
50
votes
4 answers

How do the nl80211 library & cfg80211 work?

I want to learn about how nl80211 and cfg80211 work in detail, such as: function flow and how nl80211 interacts with network tools like wpa_supplicant and iw.
Rafal
  • 1,120
  • 3
  • 15
  • 23
45
votes
7 answers

Bluetooth and WIFI Printing for Android

We would need a portable printer (handheld, it is important) that can connect to android phone via bluetooth or wifi. What I know currently: No standard printing SDK available for Android this time There is a non official SDK called iPrint SDK.…
Gábor Lipták
  • 9,646
  • 2
  • 59
  • 113
43
votes
3 answers

ADB, Wifi and Eclipse: how I can configure?

Recently I see that is possible to debug app development by use WIFI instead of USB debug method. I make a search and I found an app called abdWireless but I have a problem. How I can tell to Eclipse to connect via Wifi method? I think that it is an…
David Rodrigues
  • 12,041
  • 16
  • 62
  • 90
43
votes
9 answers

java.net.ConnectException: failed to connect to /192.168.253.3 (port 2468): connect failed: ECONNREFUSED (Connection refused)

I want to transfer some data between PC and a mobile phone with WiFi. This is how I get the WiFi IP address: String ip = String.format( "%d.%d.%d.%d", (wifiInfo.getIpAddress() & 0xff), …
Entel
  • 639
  • 2
  • 8
  • 12
42
votes
11 answers

Getting MAC address in Android 6.0

I'm developing an app that gets the MAC address of the device, but since Android 6.0 my code doesn't work, giving me an incorrect value. Here's my code... public String ObtenMAC() { WifiManager manager = (WifiManager)…
Mazinger
  • 633
  • 1
  • 6
  • 12
42
votes
2 answers

iOS / Too frequent rssi event from driver..?

So my question came up looking an the console output of some iOS 7.0.x devices via iPhone Configuration Utility the other day. I was puzzled to see several indications that the WiFi daemon registers WiFi rssi activity out of the blue for no apparent…
RTouris
  • 421
  • 4
  • 3
40
votes
6 answers

Force Android to Use Wifi network with no internet

I am building an android app that needs to communicate over a WiFi network that will not have any internet access. The problem is that even when the WiFi is connected android chooses to use cellular/mobile data when no connection internet is present…
Lonergan6275
  • 1,938
  • 6
  • 32
  • 63
38
votes
10 answers

Java getting my IP address

I am trying to get my Internet IP address in Java but I keep getting my local address (ie: 127.0.0.1), when my IP address is 192.168.0.xxx I am using the line: InetAddress.getLocalHost().getHostAddress(); which seems standard to get the IP address,…
Jary
  • 1,501
  • 3
  • 24
  • 35
35
votes
6 answers

Android: Simulate WiFi in the emulator?

I would like to check from my app whether the device has WiFi connectivity, but in order to do that, I must first find a way to get "WiFi" in the emulator. Just going to Settings -> Wireless controls -> Wifi says Unable to start Wi-Fi, while logcat…
Felix
  • 88,392
  • 43
  • 149
  • 167