×

Discussion Board

Results 1 to 2 of 2

Thread: flashBacklight

  1. #1
    Regular Contributor
    Join Date
    Sep 2003
    Posts
    60

    flashBacklight

    I'm trying to use flashBacklight to keep the Nokia 6600 light on when playing my game. Is this possible? At the moment the backlight just flashes on and off.... is there a way to keep the backlight constantly on using this MIDP 2.0 function?

    Also, once I quite the game the backlight is no longer enabled when a key is pressed. It seems that calling flashBacklight has stopped the backlight.

    Any help would be welcome.

  2. #2
    Registered User
    Join Date
    Oct 2004
    Posts
    4
    I have a Nokia 6230. I know, you don't, but I'll try to write you what I found out.

    If I use "flash" the lights will only flash once. But if I want to have constant backlight, I use:

    DeviceControl.setLights(0,100);

    ...in each redraw loop. it is a terrible programming trick, but at least it works.

    You will have to use
    import com.nokia.mid.ui.DeviceControl;

    i don't really know the 6600, but as we both use MIDP2, something like this should be the solution.

    Hope this helped a bit.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×