int LcdStayOn(int flag);
Controls whether the LCD on the device will dim after inactivity.
Returns value not used.
Whether the device's LCD should dim after the inactivity period defined in the device's Settings application. 0 = dim after inactivity; 1 = do not dim.
LcdStayOn() allows you to control whether the screen should dim while your application is running. This may be useful, especially if your user does not touch the screen for long periods of time. For example, a game whose primary control comes from the Accelerometer functions (TiltGetX(), TiltGetY(), TiltGetZ())
Available in DragonFireSDK 1.3 and later.
// Keep the LCD screen from dimming while the app is running.