I want to write an app that scans for WiFi networks and displays their signal strengths, continually updating. It seems like a no-brainer to use android.net.wifi.WifiManager.startScan() and get the results; but how?
startScan() says: "The availability of the results is made known later by means of an asynchronous event sent on completion of the scan". How do I get this asynchronous event? I can't see any API to register a listener.