How to redirect my Windows Phone C# app to a setting page?

寵の児 提交于 2019-12-13 05:15:32

问题


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



来源:https://stackoverflow.com/questions/18685981/how-to-redirect-my-windows-phone-c-sharp-app-to-a-setting-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!