Screen brightness in J2ME

风格不统一 提交于 2019-12-24 16:28:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!