Guys how can i use an Asynchronous task and run a loop that gets an updated RSSI on every iteration, and how can i update the UI with onProgressUpdate().
And for the last how can i use a Thread.sleep(500) in my loop to it updates every half second?
Guys how can i use an Asynchronous task and run a loop that gets an updated RSSI on every iteration, and how can i update the UI with onProgressUpdate().
And for the last how can i use a Thread.sleep(500) in my loop to it updates every half second?
Check this first. Basically you have to use the WifiManager to scan for available networks and receive the result in a BroadcastReceiver as shown in the tutorial. You can extract any info available for the networks from the ScanResult.
After that everything is quite simple