Prevent tablet from sleeping while app is running
问题 I'm trying to write a Windows 8 tablet app that often can go multiple minutes between receiving input. The problem is, that if i don't keep touching the screen, the power saver will activate, and the screen will automatically go black, and it disrupts the user of the app. Is there a way that my app can prevent the power saver from activating, or at least extend the time it takes for the power saver to activate. 回答1: You should use DisplayRequest class to keep screen from turning off. Apps