Hi All,
I need to disable the screen saver, and as far as I find out until now in Wiki and here, I should use Nokia's API setLights().
I have a "collateral" problem: could anyone please tell me how to import the DeviceControl?
more exactly where shoul I put this line, and what else do I need?:
Code:
import com.nokia.mid.ui.DeviceControl;
The sample code that I find and I need to use looks like:
Code:
while( true )
{
DeviceControl.setLights( 0, 100 );
Thread.sleep( 2000 ); // 2 seconds
}
Note: I am using C++.
Many thanks,
Adriana.