1

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!

Albus Dumbledore
  • 12,368
  • 23
  • 64
  • 105

2 Answers2

2

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

JoseK
  • 31,141
  • 14
  • 104
  • 131
  • Thank you very much! Unfortunately, this would only _flash_ the light, but would not control its brightness. I was looking for a way of making the screen more or less bright, which is pretty useful for the app I am writing. I've seen it's possible in Android though... – Albus Dumbledore Sep 01 '10 at 12:40
0

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

Albus Dumbledore
  • 12,368
  • 23
  • 64
  • 105
  • Some Sony Ericssons also supposedly support Nokia API - I haven't tried it myself, but I'll take a look into it, next time I'll try to make my old phone blink the keyboard or the like... http://mobilezoo.biz/sonyericsson.php#jp – Tomasz Gandor Oct 19 '12 at 21:48