问题
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.
来源:https://stackoverflow.com/questions/3564475/screen-brightness-in-j2me