I've been able to code, build and deploy a jar file to Nokia and certain SonyEricsson handsets which have runtime support for the Nokia UI API and which allow me to defeat backlight timeout.
However, there is one thing which is still not 100% clear to me.
I can only test my app which includes this fix on the Nokia S60 FP2 emulator which comes with the S60 3rdEd/FP2 SDK. If I want to test my app using the WTK emulators (eg, DefaultColorPhone) the only workaround I've found so far is to use Netbeans customized project configurations as described in :
http://www.netbeans.org/kb/articles/...tation-40.html
This way I can temporarily preprocess out the calls to
DeviceControl.setLights() to allow me to test the app using the more convenient (and faster) emulators such as DefaultColorPhone.
Am I missing something here ? What I am trying to avoid is the need to mess about with preprocessing hacks within my code/build/deploy cycle.
--Ian

Reply With Quote
)

