×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    5

    Screen enlighting time management

    Hello,

    I could not find a means to force the light to be on with Java. It will be great, if someone tell me on the possibility.

    Thanks a lot

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Screen enlighting time management

    Hi,

    AFAIK in MIDP 2.0 we have the public boolean flashBacklight(int duration) method of Display class, but it will just disable flashing if a value of zero is passed as argument. No way to keep it on.

    http://www.j2medev.com/api/midp/java...hBacklight(int)

    Hope this helps
    Juarez Alvares Barbosa Junior - Brazil

  3. #3
    Registered User
    Join Date
    Jun 2007
    Posts
    5

    Re: Screen enlighting time management

    Thank you juarezjunior.

    From Sin description of flashBacklight "For devices that do not include a controllable backlight, calls to this method return false." So it depends on hardware.

    May be there is an underground, by soft, way to make backlight on?
    Last edited by lgame; 2007-06-17 at 07:22.

  4. #4
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Screen enlighting time management

    Hi lgame,

    The only other way I know is using the public static void flashLights(long duration) method of DeviceControl (Nokia UI API). But note it is specific and it is now deprecated.

    Br,
    Juarez Alvares Barbosa Junior - Brazil

  5. #5
    Registered User
    Join Date
    Jun 2007
    Posts
    5

    Re: Screen enlighting time management

    Thank you juarezjunior.

  6. #6
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Screen enlighting time management

    Hi lgame,

    You are welcome, glad to know it helped
    Juarez Alvares Barbosa Junior - Brazil

Similar Threads

  1. Full screen splash screen
    By jitendrachhajed in forum Symbian
    Replies: 1
    Last Post: 2005-07-11, 08:01
  2. Error on running multiple screen
    By thephong in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-05-16, 17:40
  3. UI: Full Screen Mode
    By GENERAL_INFO in forum Symbian User Interface
    Replies: 3
    Last Post: 2004-11-22, 06:27
  4. Question : Nokia 6600's key in same time
    By itsworld in forum Mobile Java General
    Replies: 1
    Last Post: 2004-05-01, 15:51
  5. Question - Nokia 6600's key in same time
    By itsworld in forum Mobile Java General
    Replies: 0
    Last Post: 2004-04-30, 11:28

Posting Permissions

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