How to get available wifi networks and display them in a list in android
问题 Friends, I want to find all available WiFi networks and display them in a list I have tried as below. But it\'s not working. I have edited my code, and now I got the result but with all the result that I don\'t need. I only need names of wifi network in my list. public class MainActivity extends Activity { TextView mainText; WifiManager mainWifi; WifiReceiver receiverWifi; List<ScanResult> wifiList; StringBuilder sb = new StringBuilder(); @Override protected void onCreate(Bundle