Turn off screen from inside app in windows phone 7

谁说我不能喝 提交于 2019-12-08 08:45:27

问题


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.


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/9341134/turn-off-screen-from-inside-app-in-windows-phone-7

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