×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    60

    how can I light screen from black screen(power save mode).

    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
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: how can I light screen from black screen(power save mode).

    Have you searched for light already? In the SDK Help and/or the Wiki for example.

  3. #3
    Regular Contributor
    Join Date
    Apr 2008
    Location
    India
    Posts
    477

    Re: how can I light screen from black screen(power save mode).

    Class CHWRMLight may help you on this. see SDK for more info.

  4. #4
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: how can I light screen from black screen(power save mode).

    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
    Join Date
    Nov 2008
    Posts
    60

    Re: how can I light screen from black screen(power save mode).

    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
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: how can I light screen from black screen(power save mode).

    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
    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

Posting Permissions

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