Android: Active Scanning for wifi networks
-
28-10-2019 - |
Pergunta
Is it possible to perform an active wifi scan on android without using the, according to this post, undocumented API call startScanActive()
?
Are there any other possibilities to do this and perform an active scan?
Solução
Ok, it seems that is just not possible. One possible "Workaround" to use startScanActive() is described here, but that is not guaranteed to work.
Outras dicas
You should use the WifiManager class, startScan() and getScanResults() methods
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow