×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    135

    backlight control in screensaver application

    hi,
    i have developed an application which behaves like a screensaver. it uses an active object which looks for inactivity time.

    and when the time set by user is=inactivity time then screen saver is started.

    what i need is when my screen is shown i want backlight on for say 10 seconds. how is it possible.

    thanks,
    sunny

  2. #2
    Registered User
    Join Date
    May 2004
    Posts
    28

    Re: backlight control in screensaver application

    Hi!

    How do you write an application which the user cannot switch away from (stops them using the 'application switch' key?

    Thanks

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: backlight control in screensaver application

    Quote Originally Posted by sunny_singh
    what i need is when my screen is shown i want backlight on for say 10 seconds. how is it possible.
    User::ResetInactivityTime() turns backlight on. Note this will also reset idle-timers, thus you have to avoid re-triggering your screensaver (by simply checking the clock or by having a timer for re-enabling the idle object, etc.)

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: backlight control in screensaver application

    Quote Originally Posted by yatest5
    How do you write an application which the user cannot switch away from (stops them using the 'application switch' key?
    For a screensaver, TApaTask::BringToForeground and/or RWindowTreeNode::SetOrdinalPosition should be usually enough.

  5. #5
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Hyderabad, India
    Posts
    90

    Re: backlight control in screensaver application

    Hi,

    Use CHWRMLight class to turn backlight ON\OFF.
    Regards,
    Ashish

  6. #6
    Registered User
    Join Date
    May 2004
    Posts
    28

    Re: backlight control in screensaver application

    Quote Originally Posted by wizard_hu_
    For a screensaver, TApaTask::BringToForeground and/or RWindowTreeNode::SetOrdinalPosition should be usually enough.
    Sorry Wizard_hu, how would these functions be called?

    I did try with the solution found in

    http://discussion.forum.nokia.com/fo...ad.php?t=71757

    but got a few problems...

    Thanks!

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: backlight control in screensaver application

    For example
    Code:
    TApaTask task(CEikonEnv::Static()->WsSession());
    task.SetWgId(CEikonEnv::Static()->RootWin().Identifier());
    task.SendToBackground();

  8. #8
    Regular Contributor
    Join Date
    Oct 2004
    Location
    Tokyo,Japan
    Posts
    289

    Question Re: backlight control in screensaver application

    hi guys ,

    I need your help , i am working on similar type of task .

    I need to show desired screen for my phone's idle screen ,
    i am planning to do this on seris 60 3rd edition over symbian os 9.1 handsets.


    kindly suggest me some steps and concerned APIs


    Thanks
    navjot

Similar Threads

  1. How can the WAP browser communicate to J2ME application?
    By hbfornies in forum Mobile Java General
    Replies: 20
    Last Post: 2007-03-02, 16:32
  2. Replies: 2
    Last Post: 2006-08-01, 11:54
  3. Replies: 0
    Last Post: 2004-12-13, 11:05
  4. Replies: 0
    Last Post: 2003-09-24, 06:27
  5. Replies: 1
    Last Post: 2002-05-08, 16:38

Posting Permissions

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