Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor sbdavid's Avatar
    Join Date
    Nov 2008
    Posts
    60
    when my application get any event, I want to light the screen from black screen(power save mode).
    How can I implement?
    is there the APIs for this?

    thanks.

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Have you searched for light already? In the SDK Help and/or the Wiki for example.

  3. #3
    Regular Contributor pawan_G's Avatar
    Join Date
    Apr 2008
    Location
    India
    Posts
    477
    Class CHWRMLight may help you on this. see SDK for more info.

  4. #4
    Nokia Developer Champion amitkankani's Avatar
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572
    Apart from that if u also intend to avoid the screen light going off and keypad not getting locked, you can try setting inactivity timer like this:

    Code:
    User::ResetInactivityTime();
    between what is your use case scenario here ?
    Amit Kankani
    Nokia Developer Champion

  5. #5
    Regular Contributor sbdavid's Avatar
    Join Date
    Nov 2008
    Posts
    60
    I set 20 seconds for Power save time-out and Light time-out.
    so my phone goes to black screen(power save mode) after 20 seconds if there is no user action.

    scenario is following:
    -my application is running.
    -once application get any event(according to appliaction logic), screen should be light sothat user can see the application directly.

    so I tested with CHWRMLight, but LightOnL does not work(LightOffL works well).

    CHWRMLight* iLight;
    iLight = CHWRMLight::NewL();

    iLight->LightOnL( CHWRMLight::EPrimaryDisplay);

    please let me know how I can do.
    thanks.

  6. #6
    Nokia Developer Champion amitkankani's Avatar
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572
    can u try this too ! I haven't tried it though !

    "User::ResetInactivityTime();"
    Amit Kankani
    Nokia Developer Champion

Similar Threads

  1. VoIP and wi-fi power-save mode
    By ng1234 in forum VoIP
    Replies: 6
    Last Post: 2009-07-06, 13:05
  2. How can I tweak the standby mode screen?
    By elviin in forum Symbian C++
    Replies: 3
    Last Post: 2009-04-22, 14:08
  3. UI: Full Screen Mode
    By GENERAL_INFO in forum Symbian User Interface
    Replies: 3
    Last Post: 2004-11-22, 06:27
  4. 7650 after few secs, screen goes black
    By FatalError in forum Mobile Java General
    Replies: 1
    Last Post: 2003-06-26, 10:30
  5. cannot save the animated screen saver
    By Neihc in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2002-10-07, 06:10

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