×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    103

    preventing screen saver

    I'm trying to prevent the screen saver from running.
    I tried the piece of code from here:
    http://wiki.forum.nokia.com/index.ph...on_S60_devices
    (using DeviceControl.setLights( 0, 100 ) )
    On N95 it prevents from the screen's brightness to be lowered but the screen saver does appear after a while. On the 6680 it doesn't prevent the change in brightness and the screen saver starts too. Is there any other way to do this? Or any workaround?

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: preventing screen saver

    Nokia UI API is supported on both N95 and 6680, so it should work correctly on both phones.

    Are you looping to call DeviceControl.setLights( 0, 100 ) periodically? Calling it only once, or with a long delay between calls, could make the screensaver appear after a while.

    Hope it helps

    Pit

  3. #3
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    103

    Re: preventing screen saver

    Quote Originally Posted by jappit View Post
    Nokia UI API is supported on both N95 and 6680, so it should work correctly on both phones.

    Are you looping to call DeviceControl.setLights( 0, 100 ) periodically? Calling it only once, or with a long delay between calls, could make the screensaver appear after a while.

    Hope it helps

    Pit
    I'm calling it about 15 times per second

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: preventing screen saver

    The known issue contains this text:

    "It is now possible to prevent screen saver appearance in MIDlets by using the DeviceControl class of Nokia UI API.
    This functionality is available starting from S60 3rd Edition, Feature Pack 1 devices, although some early S60 3rd Edition, FP1 releases do not support this."

    So this does not work on 6680 and at least some of the N95 firmware versions do not support this.

    Hartti

  5. #5
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    103

    Re: preventing screen saver

    Quote Originally Posted by hartti View Post
    The known issue contains this text:

    "It is now possible to prevent screen saver appearance in MIDlets by using the DeviceControl class of Nokia UI API.
    This functionality is available starting from S60 3rd Edition, Feature Pack 1 devices, although some early S60 3rd Edition, FP1 releases do not support this."

    So this does not work on 6680 and at least some of the N95 firmware versions do not support this.

    Hartti
    Oh, ok, thanks. Some of the N95's firmware isn't FP1 ?

  6. #6
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: preventing screen saver

    No, N95 is a S60 3rd Edition FP1 device. The text states that these phones support this, EXCEPT some early firmware versions of this platform. As N95 was one of the first S60 3rd Edition FP1 devices out there, some of the early firmware versions of this phone definitely do not support this. I am not sure at which point the support for this was (will be?) added for N95.

    Hartti

  7. #7
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    103

    Re: preventing screen saver

    Quote Originally Posted by hartti View Post
    No, N95 is a S60 3rd Edition FP1 device. The text states that these phones support this, EXCEPT some early firmware versions of this platform. As N95 was one of the first S60 3rd Edition FP1 devices out there, some of the early firmware versions of this phone definitely do not support this. I am not sure at which point the support for this was (will be?) added for N95.

    Hartti
    OK, thanks a lot

Similar Threads

  1. Screen saver block in Nokia E62
    By arumugam_chan in forum Mobile Java General
    Replies: 2
    Last Post: 2008-06-24, 00:05
  2. Disabling screen saver on N95
    By jdm1216 in forum Mobile Java General
    Replies: 2
    Last Post: 2007-08-03, 10:58
  3. Screen Saver Event
    By Harald_Grossauer in forum Symbian
    Replies: 3
    Last Post: 2007-03-08, 09:07
  4. Screen saver notification
    By heuven in forum Symbian
    Replies: 1
    Last Post: 2006-12-29, 04:48
  5. How to remove the screen saver without turning the backlight on.
    By redzvika in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-07-06, 13:47

Posting Permissions

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