I am using startScan() and getScanResults() for the getting the list of available networks. But I want to start the scan which shall be done upto 2 mins, so that the Wifi devices list shall be updated as and when found. How do I achieve this behaviour?
I have followed the link How can I get Android Wifi Scan Results into a list? for the getting the scan results.