Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
BroadcastReceiver to list WiFi networks on the SSaurel's Blog
BroadcastReceiver wifiReceiver = new BroadcastReceiver() {
public void onReceive(Context context, Intent intent) {
results = wifiManager.getScanResults();
for (ScanResult scanResult : results) {
arrayList.add(scanResult.SSID + " - " + scanResult.capabilities);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.