Lwuit flashbacklight

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

Display.getInstance().flashbacklight();

The backlight flash frequency is quite low.

How do I make the backlight faster?

+3


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.



+7


source







All Articles