View Full Version : C# prevent Idle Sleep
kholy
11th December 2008, 03:25 PM
Hello, anyone have any information on how to keep the phone from sleep in C#? i would like it to just turn the backlight off but never hit sleep
Rudegar
11th December 2008, 04:32 PM
sounds like the type of thing you cant do with .net directly but
require an unmanaged call to a sys dll to do
kholy
11th December 2008, 09:58 PM
can you go into anymore detail on this? i'm really trying to accomplish sorta like wmwifirouter prevents from sleep, or gmaps when navigating and stuff
Rudegar
11th December 2008, 10:17 PM
ok i took the bait and did the google for you
http://www.google.dk/search?source=ig&hl=da&rlz=&q=pocketpc+stop+suspend&btnG=Google-s%C3%B8gning&aq=f
4th hit
http://www.codeproject.com/KB/mobile/SuspendKiller.aspx?fid=168348&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=1337090
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.