w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Android - List wifi access points

First get a list of available wifi points-

WifiManager wifiManager = (WifiManager)
getSystemService(Context.WIFI_SERVICE);
        List<ScanResult> apList = wifiManager.getScanResults();

apList - is the list of all available wifi points in the most recent scan.

You can set this apList to a ListView. NB:- this method returns only the recently scanned wifi points





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.