我正在尝试将在 Windows Phone 8 上构建的应用程序移植到 Windows 应用商店应用程序 8.1。我的移动版本的功能之一是用户能够使用以下代码“启动”内置蓝牙设置应用程序:
ms-settings-bluetooth:
是否可以在 Windows 应用商店应用程序中执行此操作?
最佳答案
我正在寻找同一问题的解决方案。我想我应该添加我在这里找到的答案。正如此处列出的保留 URI 所建议的,Windows 应用商店似乎不支持该 URI http://msdn.microsoft.com/en-us/library/windows/apps/hh452686.aspx
这个问题已经在其他地方得到了回答。看起来您只能显示设置面板,而不能显示具体的蓝牙。 http://social.msdn.microsoft.com/Forums/windowsapps/en-US/a30564be-c91d-4ad4-a402-de1d2cd4f0cc/how-to-open-the-bluetooth-settings-panel-in-a-windows-store-app?forum=winappswithcsharp
Windows.UI.ApplicationSettings.SettingsPane.Show()
关于c# - Windows 应用商店应用程序 : how to programmatically launch bluetooth settings app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19431088/