Open bojidar-bg opened 9 years ago
Hey, sorry for the late reply on this issue. I think you have the right idea. StartScan returns true once the scan has started. We should register a BroadcastReceiver to the SCAN_RESULTS_AVAILABLE_ACTION in order to get the list of the available access points as soon as the scan completes. Definitely going to look into this.
Thanks.
Hey, the pull request still seems to be open. We would like to use this feature as well. Is it possible to merge or is there any need for further improvements?
Currently one has to call
startScan
and then pollgetScanResults
until the scan is complete. It will be simpler if I could callwaitForScanResult
(not a good function name, but nvm....) and have a callback called when an intent with SCAN_RESULTS_AVAILABLE_ACTION is sent. An example usage :smile: ..BTW, :+1:¹⁰⁰ for this package, it works great :smiley: