Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to stop wifi scan on android?

Tags:

android

wifi

Is it possible to stop wifi scan started with wifiMgr.startScan() ? I browse some posts and read about using thread to give intervals between each result delivery. But if I want to completely stop the process, how can I achieve it?

like image 942
springrolls Avatar asked Dec 21 '10 13:12

springrolls


1 Answers

I found the answer a few days ago. Simply unregister the receiver. I don't know if it is the best way to go, but it works.

like image 198
springrolls Avatar answered Sep 28 '22 01:09

springrolls