Missing method in android.net.wifi.WifiManager

前端 未结 3 2002
南方客
南方客 2021-01-19 08:20

On the site androidjavadoc.com, a method startScanActive is listed in the class WifiManager that makes it possible to perform an active wi-fi scan.

3条回答
  •  心在旅途
    2021-01-19 08:33

    When everything else fails, go to the roots:

    http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.4_r1/android/net/wifi/WifiManager.java#WifiManager.startScanActive%28%29

    It is a public method in WifiManager since 1.6, although you're correct in saying that Eclipse does not find that method, for some weird reason.

提交回复
热议问题