Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. wifiManager.startScan();
  2. List<ScanResult> results = wifiManager.getScanResults();
  3.  
  4. for (ScanResult scanResult : results) {
  5. ap_device = new APDeviceInfo();
  6. ap_device.ssid = scanResult.SSID;
  7. ap_device.security = scanResult.capabilities;
  8. ap_device.bssid = scanResult.BSSID;
  9. ap_devices_list.add(ap_device);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement