Hi, I have looked for an answer to this since there are many topic about it, but all are slitghtly different, so let me point a clear (I hope) question.
When I send a locate command to the phone (htc one S with JB), it turns on wifi and it collect data about position. Now, if the WIFI is free/open and can send data through it, all works fine, but if the wifi is OPEN BUT needs a password to connect (like many free open wifi in cities, working places, airport etc), it just does not send data back (of course, it cannot do it), although there is a 3G data available. Why not letting the device use 3G if It cannot send data through WiFi?