Turn off screen from inside app in windows phone 7

2019-05-31 22:37发布

问题:

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