打开/关闭 Windows Phone 设置 [英] Turn Windows Phone Settings On/Off

查看:22
本文介绍了打开/关闭 Windows Phone 设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我需要做的相当简单:能够以编程方式(通过某些 API)打开/关闭系统设置,例如:

OK What I need to do is fairly straightforward : Be able to programmatically (via some API) turn system settings on/off, like :

  • 无线网络
  • 蓝牙
  • 蜂窝
  • 调频收音机

关于如何去做的任何想法?(我到处搜索,没有找到任何最新的)

Any ideas on how to go about that? (I've searched everywhere and found nothing up-to-date)

推荐答案

您无法在 Windows Phone 中以编程方式更改它们,但您可以要求用户更改它们并将用户重定向到 Settings 页面(为此使用 ConnectionSettingsTask http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394011(v=vs.105).aspx).

You can't change them programmatically in Windows Phone, but you can ask a user to change them and redirect a user to the Settings page (for this purpose use ConnectionSettingsTask http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394011(v=vs.105).aspx).

这篇关于打开/关闭 Windows Phone 设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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