I know its possible to use a wakelock to hold the screen, cpu, ect on but how can I programmatically change the \"Screen Timeout\" setting on an Android ph
Above is correct:
Settings.System.putInt(getContentResolver(),Settings.System.SCREEN_OFF_TIMEOUT, DELAY);
But also include permission in manifest:
android:name="android.permission.WRITE_SETTINGS"