×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    80

    Question how to get the current screen brightness?

    how to get the value of current screen brightness level?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: how to get the current screen brightness?

    If I remember right Symbian SDKs are not including any API for this, though Qt appears to hav eit: http://wiki.forum.nokia.com/index.ph...ation_using_Qt

  3. #3
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,267

    Re: how to get the current screen brightness?

    Hi,

    Qt is open source, meaning that you can check its source code for how the API is implemented,

    "QSystemDisplayInfoPrivate::displayBrightness"
    https://www.assembla.com/code/batlev...182c430852ce62

    You can see it actually read the brightness value from a Central Repository, CenRep API is public that means you can copy&paste the code to your own project.

    Regards

    Ziteng Chen

Similar Threads

  1. How to get the Current Orientation ?
    By nguyend in forum Symbian
    Replies: 3
    Last Post: 2010-05-19, 08:50
  2. How can I get the current font color of current theme ?
    By nadis in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2009-05-08, 23:36
  3. Replies: 5
    Last Post: 2008-07-11, 22:12
  4. How to get the image of current screen/canvas?
    By joykeyer in forum Mobile Java General
    Replies: 2
    Last Post: 2008-06-06, 18:04

Posting Permissions

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