View Single Post
  #2 (permalink)  
Old 07-09-2009, 05:53 PM
Erel's Avatar
Erel Erel is online now
Administrator
 
Join Date: Apr 2007
Posts: 15,676
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You can use the Hardware library to catch the key events and just don't do anything.
Also see KeepAlive in this library, which prevents the device from suspending.
see this thread for a custom library which allows turning the screen off: http://www.basic4ppc.com/forum/quest...creen-off.html
It is not possible to capture the power button.
Reply With Quote