2

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 happening and how I can disable this behavior?

Thanks

Zain Rizvi
  • 23,586
  • 22
  • 91
  • 133

2 Answers2

3

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.

Martin
  • 11,031
  • 8
  • 50
  • 77
Matt Lacey
  • 65,560
  • 11
  • 91
  • 143
  • 1
    I tried that but it didn't make a difference. The UserIdleDetectionMode doesn't kick off until after a few minutes anyways. This dimming is instantaneous. Turn out this is something built into all Samusung Focus phones and can't be disabled – Zain Rizvi Apr 21 '11 at 22:59
3

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

Zain Rizvi
  • 23,586
  • 22
  • 91
  • 133