Android, wifi active scans

后端 未结 2 1746
说谎
说谎 2021-01-16 00:09

I need a frequent wifi scan on my android application (I\'m trying to build a local indoor positioning system based on wifi RSSI values). IF I call wifi.startScan() I have o

2条回答
  •  花落未央
    2021-01-16 01:07

    I don't think you can. It is a device and/or OS version dependend setting. On the Nexus One for example it takes roughly a second to scan whereas on the G1 it takes significantly longer (or get fresh results after a few scans). If I recall correctly, some Android Version (< 2.0) did not issue a fresh scan everytime startScan() was called but might have reused the old result. But I might be mistaken on that one.

提交回复
热议问题