I m facing a really annoying problem. In some point of the program, I need to track the user position. For that I register a listener for all the providers available and request updates. This was working really good until I updated my phone to Android 4.0. But the same code is working perfectly in older versions.
现在,听众不是被叫来的。 但只是在一些条件下:
- if i have gps coordinates, this works perfectly ok, even if the gps coordinates are lost, I get also network
- but if there is no gps coordinates and there is no wifi signal (but the wifi on the phone is enable), I should be able to get the coordinates using the 3g. Here is were it s not working. If I debug, I can see how the listener is being registered but it is never called.
请帮助!