开发者

How do you stop the screen from dimming in WP7?

I'm creating a simple flash light app. Whenever I turn the screen all white, the screen dims a little, even if I turn off auto brightness and set the brightness to high.

Does anyone know why this is happe开发者_开发百科ning and how I can disable this behavior?

Thanks


You should look at disabling the UserIdleDetectionMode to prevent this.

Please be sure to read the remarks on the MSDN article though regarding battery life.


Turns out this is a "feature" of all Samsung Focuses b/c of their AMOLED screen. The screen automatically dims itself and there's no API to disable this behavior.

Bummer

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜