How to redirect my Windows Phone C# app to a setti

2019-09-02 06:52发布

问题:

I need an Method or Class that redirects my app to a setting page like "Ringtones+Sound" or "Brightness". I was thinking of something like "ConnectionSettingTask" class and ".Show()" method that redirects to a "bluetooth" page, for example. Any ideas?

回答1:

You can use LaunchUriAsync to open up built-in apps. Use following code to achieve your requirement:

Windows.System.Launcher.LaunchUriAsync(new Uri("ms-settings-bluetooth:"));

The problems: There are only limited uri schemes available. Here is a List and it's only available on Windows Phone 8