Lwuit flashbacklight

I am using LWUIT to build an application. In LWUIT, you can backlight your cell phone with the following command:


The backlight flash frequency is quite low.

How do I make the backlight faster?


source to share

1 answer

You must call Display.getInstance.flashBacklight(int duration);

so many times. Try to insert this method after a while (or in a loop Thread

) and use a small value for the duration.



All Articles