Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void scanWifi() {
- arrayList.clear();
- registerReceiver(wifiReceiver, new IntentFilter(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION));
- wifiManager.startScan();
- Toast.makeText(this, "Scanning WiFi ...", Toast.LENGTH_SHORT).show();
- }
Add Comment
Please, Sign In to add comment