Once I discovered that flashBacklight() method in a TimerTask() was not working as it was supposed to on S40/S60 platforms (flickering and dimming problems), I tried the DeviceControl.setLight(0, 100). Well, I can build the jar with no problems, but when running it on a S40/S60 emulator (or device, N95 for example), I get this exception:
I'm importing com.nokia.mid.ui.DeviceControl, not com.nokia.mid.impl.isa.ui.DeviceControl. Does anybody have any clue about what I'm doing wrong?
Thanks in advance.