yamspog
yamspog

Reputation: 18333

windows phone 7 how to navigate to settings menu

I have a windows phone 7 app that uses GPS to track user position. Now the user can disable this feature through the phone's setting menu. the app handles this disabling fine and gives them a message. This is all pretty standard windows phone stuff.

My question is whether I can navigate (inside the app) to the settings menu so that the user can enable phone location services? Ideally I would give them a link or a button that they touch and they are then taken out of the app to the settings menu. They would then click 'back' and return to the app.

Upvotes: 2

Views: 1605

Answers (2)

Steven
Steven

Reputation: 4963

Try this:

Windows.System.Launcher.LaunchUriAsync(new Uri(“ms-settings-location:”));

Not sure if it works on WP7 though.

http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj662937(v=vs.105).aspx

Upvotes: 0

keyboardP
keyboardP

Reputation: 69372

No, at the moment, there's no way to fire up the Settings menu from inside your app.

Upvotes: 2

Related Questions