How to programmatically turn GPS on and off in Windows Phone 7
问题 So far, to turn on and off the GPS device in Wp7, I do it in Settings Menu. Wonder If this can be done in code? Thanks ---------- Update Sorry for the confusion. Instead of turning GPS on and off, What I really mean is how to turn on and off the LOCATION in the Settings Menu of Wp7. 回答1: You can get the GPS data but you are not able to turn the sensor on or off via your application. The most you can do in your application is start the geolocation data acquisition and stop it. 回答2: Windows