如何将Windows Phone C#应用程序重定向到设置页面? [英] How to redirect my Windows Phone C# app to a setting page?

查看:81
本文介绍了如何将Windows Phone C#应用程序重定向到设置页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个方法或类,将我的应用重定向到诸如铃声+声音"或亮度"之类的设置页面.例如,我在考虑类似"ConnectionSettingTask"类和".Show()"方法之类的东西,它们会重定向到蓝牙"页面.有什么想法吗?

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?

推荐答案

您可以使用 LaunchUriAsync 打开内置应用. 使用以下代码来满足您的要求:

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:"));

问题:只有有限的uri方案可用.这是

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

这篇关于如何将Windows Phone C#应用程序重定向到设置页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆