Sunday, September 15, 2013

Google Maps Api v2 - Detect gps activation

Google Maps Api v2 - Detect gps activation

I want to locate user using best provider enabled. When I launch my app
with GPS off, the location manager will use network to get user location.
If I turn on my GPS while the app still running, the GPS will not be used
because the location manager is listening network provider.
How can I detect the activation/desactivation of GPS and update user
location on the map while the location manager is using the network
provider ?

No comments:

Post a Comment