As I understand it, I have three providers to choose from: GPS, Network and Passive.
I want to get my location by discovering the Wi-Fi network I'm connected to. I believe that cell location and Wi-Fi positioning apply to the network provider.
However, despite connecting to a Wi-Fi access point, my program, as a rule, uses cell triangulation rather than Wi-Fi to determine my location (assumed based on the huge inaccuracy of the returned coordinates).
Doesn't seem like any way to force Wi-Fi? How will Android decide when to use Wi-Fi over cell triangulation?
source
share