Keep LCD Screen On

  • Thread starter Thread starter raidxx
  • Start date Start date
R

raidxx

Does anybody have some code that will prevent the LCD screen from
automatically turning off? No Backlight!

thnx.
 
i'm using this code

[DllImport("coredll")]
extern static void SystemIdleTimerReset();

private void KeepOn()
{
SystemIdleTimerReset();
}

but it does not work..

do u have a any example..

:)
 
You can't call it *just once*! You have to call it often enough so that the
time-out period set by the user doesn't expire without at least one such
call being made.

Paul T.
 
every 1sec. timer calls SystemIdleTimerReset() but does not work..

i think only support PPC,is it?

i need code sample for smartphone 2003.
 
it's working

[DllImport("Aygshell.dll")]
private static extern void SHIdleTimerReset();

public void ResetSHIdleTimer()
{
SHIdleTimerReset();
}

thanks for u'r help Sergey
 
Back
Top