I'm coding a non-interactive graphical demo for N-Gage (S60) on Java. Is it possible to force backlight to stay turned on for few minutes? I use MIDP 1 and Nokia extensions. Also, could it be done using some external software on background? Or is there some special magic code that can be entered on N-Gage that leaves lights on? So far the only solution I've found is to manually push some keys periodically. That slows the program down for some reason and isn't very practical.
Force backlight on?
You can easily do it with some external software in the background. One such app is FExplorer (http://www.gosymbian.com); launch it, turn the backlight on in its Tools menu, leave it running and switch to the menu or your app and the backlight will stay on (until you turn it off or exit FExplorer).
I doubt there is an API in MIDP 1.0 Java for the N-Gage to control the backlight (like there is in C++).
Oh, I forgot to mention that I already tried FExplorer's light tool. It doesn't seem to work after I launch the Java application. Now I tried also Torch which is mentioned in another thread and it doesn't work either. Weird.
I found a horrible way to achieve what I wanted: when the light is about to turn off, do "display.setCurrent(null); display.setCurrent(WhatEverItWasBefore);" while FExplorer's light tool is turned on. It sort of works, but it makes the Java application go to background and shows the application list for about half a second.
If someone figures out a better way, please share it with me...