I'm writing an application that requires that I check the signal levels of all access points in the vicinity. I am using the WifiManager as follows:
WifiManager wm = (WifiManager)getSystemService(Context.WIFI_SERVICE); boolean scanResult = wm.startScan(); String totalString = ""; List<ScanResult> scan = wm.getScanResults(); In the documentation, it states the following about startScan(): "public boolean startScan() Request a scan for access points. Returns immediately. The availability of the results is made known later by means of an asynchronous event sent on completion of the scan." Can anyone describe for me the process that occurs when startScan() is called? I'm particularly interested in how the signal levels are calculated. For example, say I am interested in the signal level for access point "AP1." Will the signal level for this be available every time I call startScan, or does it rely a beacon coming from AP1? Is there a way for me to get close to continuous updates of the signal levels for each access point, or will there always be a large delay in the update? If I'm not making sense, let me know and I'll clarify. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---