Screen brightness in J2ME

2019-07-26 07:10发布

问题:

Do you know of any means for changing the screen brightness in J2ME. That is using a vendor-specific API, like Samsung's, etc.

Thanks!

回答1:

I think the closest is Display.flashBacklight(int duration)

http://www.microemu.org/microemu-midp/apidocs/javax/microedition/lcdui/Display.html#flashBacklight%28int%29

Also see http://support.developer.motorola.com/cgi-bin/motodev.cfg/php/enduser/std_adp.php?p_faqid=592&p_created=1170311265&p_topview=1



回答2:

There is away to do it with the Nokia-specific API.