Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User kbateman's Avatar
    Join Date
    Sep 2003
    Posts
    12
    Hi all,

    I need to find a way to stop the screen saver from interrupting my application, also stop the backlight from turning off, BUT allow the system lock (autolock) to interrupt the application.

    Currently I'm using the User::ResetInactivityTimer() but this also stops the autolock / systemlock from occuring.

    I was thinking of not doing the ResetInactivityTimer and waiting for the lose focus event and then bringing the app back to focus if it was the screensaver that interrupted, BUT this would still mean the backlight goes off when I dont want it to.

    This is actually to pass the symbian signed new testing criteria, I would be playing a bit of media and don't want it to be interrupted by screensaver or backlight. But we HAVE to allow the system lock to occur.

    Any suggestions

    UPDATE: Yes I am aware of the CHWRMLight api to keep the backlight on, but that still leaves me with either both the screensaver and system lock happening or neither of them happening. I only want the system lock.

    Cheers

    Kirk

  2. #2
    Registered User CarmenB's Avatar
    Join Date
    Sep 2006
    Posts
    39
    Which new test criteria do you mean?

  3. #3
    Registered User kbateman's Avatar
    Join Date
    Sep 2003
    Posts
    12
    The November / December symbian signed changes which require the Autolock / System lock to not be disabled... can't remember the exact reference in the criteria docs.

    Previous testing has passed but the new criteria means it now fails.

    Cheers

    Kirk

  4. #4
    Registered User davidmaxwaterman's Avatar
    Join Date
    Sep 2006
    Location
    Beijing, China
    Posts
    386
    Quote Originally Posted by kbateman
    The November / December symbian signed changes which require the Autolock / System lock to not be disabled... can't remember the exact reference in the criteria docs.

    Previous testing has passed but the new criteria means it now fails.

    Cheers

    Kirk
    Did you find a solution?

    Re: CHWRMLight - I was wondering if this actually works (I've read posts that say not). In my situation, all I need to be able to do is to stop the backlight from switching off (as per 'Light time-out' setting) and then switch it off when I want.

    I was wonder if there's a way to set the inactivity time to something other than zero. This might help in my situation (perhaps not in yours).

    Max.

  5. #5
    Regular Contributor lukiluuk's Avatar
    Join Date
    Jun 2010
    Posts
    73
    Hi
    Can somebody give me a code snippet on how to use User::ResetInactivityTimer() and which headers and libs need to be included? Would be very nice. Thanks, Luki

  6. #6
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    Quote Originally Posted by lukiluuk View Post
    Hi
    Can somebody give me a code snippet on how to use User::ResetInactivityTimer() and which headers and libs need to be included? Would be very nice. Thanks, Luki
    i suggest you refer to SDK Docs for header and lib.

  7. #7
    Regular Contributor lukiluuk's Avatar
    Join Date
    Jun 2010
    Posts
    73
    Hmm..were can I find the SDK docs? I am writing a Qt application, so I haven't worked with native symbian yet. Thanks in advance. Cheers, Luki

  8. #8
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    Quote Originally Posted by lukiluuk View Post
    Hmm..were can I find the SDK docs? I am writing a Qt application, so I haven't worked with native symbian yet. Thanks in advance. Cheers, Luki
    oops you have not said so . there is a online version too http://library.forum.nokia.com/ you can search,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved