在 Windows Phone 7 中从内部应用程序关闭屏幕
有没有办法在 Windows Phone 7 的应用程序内关闭屏幕?
我浏览了文档,但找不到任何与此相关的内容。
Is there way to turn off the screen from within the app in windows phone 7?
I went through the documentation but could not find anything regarding this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不,没有办法做到这一点。您唯一能做的(如果您想让屏幕变黑)就是删除页面中的所有控件或在所有内容上放置一个黑色矩形。你不能像这样乱搞 WP7 操作系统 API
No there is no possibly way to do this. The only thing you can do (if you want to make the screen black) is remove all the controls in the page or plop a black rectangle over everything. You cant mess with the WP7 OS API like that
不,您无法从应用程序中关闭屏幕。
微软认证不允许应用程序这样做,即使您能够进行一些黑客攻击
No, you cant turn off the screen from your application.
Microsoft certification will not allow application to do so, even though if your able to do with some hacks