问题
Is there any reliable way to support back-light in J2ME on multitude of models, other then pre-processing?
Is there any library available that may handle the back-light for various phones out there? Regards.
回答1:
This is not a direct control as in Nokia UI API, but there is a method in MIDP that controls backlight, it is Display.flashBacklight(int duration)
. Unfortunately, phones are not obliged to obey this method. But this method is at least part of MIDP, not some proprietary API.
回答2:
Native backlight management on phones ranges from the completely natural to the obviously insane.
It's also nowhere in the MIDP specifications.
The Nokia UI API allows to work around some issues and is actually present on non-Nokia phones.
来源:https://stackoverflow.com/questions/860540/j2me-backlight