How do I enable/disable GPS and Wifi providers? I check to see if they
are enabled by using this code:

locationManager.isProviderEnabled("gps")
locationManager.isProviderEnabled("network")

If both are false, I'd like to turn enable the GPS provider and/or the
Network provider so that the  above checks would return true. Is this
possible? If so, what permissions does it require?

I've searched the API and can't find any solutions. Thanks for any
help in advance.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to