问题
I have to list the available wifi access point in my app by using worklight . How to do that using worklight.
回答1:
For some sample code showing how to continually acquire all the access points for a set of SSIDs see: Differentiating between indoor areas in the Knowledge Center.
You can use a wildcard (*) for the SSID and MAC in the access point filters.
If you just want a one-time acquisition use the WL.Device.Wifi.acquireVisibleAccessPoints API.
Note that on non-Android platforms, you are limited to information about the connected access point. See here for more on platform restrictions.
来源:https://stackoverflow.com/questions/25197173/how-to-list-the-available-wifi-access-point-in-worklight