Nikhil
Nikhil

Reputation: 1309

lwuit flashbacklight

I am using LWUIT to construct an application. In LWUIT , one can flash a backlight of a cellphone with the following command:

Display.getInstance().flashbacklight();

The frequency at which the backlight flashes is pretty low.

How do I make the backlight flash faster?

Upvotes: 3

Views: 230

Answers (1)

Mun0n
Mun0n

Reputation: 4437

You must call Display.getInstance.flashBacklight(int duration); so many times. Try to insert this method inside a while (or in a cyclic Thread) and use small value to the duration.

Upvotes: 7

Related Questions