Karel
Karel

Reputation: 3

Windowns Phone 8 link to setting

Can I make link into setting in phone from my application? For example like a link to other page (NavigateTo)? I would like to make buttun, witch navigate you to mobile setting....

thanks for the answer.

Upvotes: 0

Views: 132

Answers (1)

har07
har07

Reputation: 89285

Check this link. You can do that by invoking LaunchUriAsync method passing one of available settings Uri as parameter :

public async void OpenSettings(string settingsName)
{
    var op = await Windows.System.Launcher.LaunchUriAsync(new Uri(settingsName));
}

Available Uri :

1. ms-settings-airplanemode: .
2. ms-settings-bluetooth:
3. ms-settings-cellular:
4. ms-settings-emailandaccounts:
5. ms-settings-location:
6. ms-settings-power:
7. ms-settings-screenrotation:
8. ms-settings-wifi:

Upvotes: 4

Related Questions