Turn off screen from inside app in windows phone 7

2019-05-31 22:45发布

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.

2条回答
我命由我不由天
2楼-- · 2019-05-31 23:12

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

查看更多
等我变得足够好
3楼-- · 2019-05-31 23:16

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

查看更多
登录 后发表回答