Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor arnab321's Avatar
    Join Date
    Oct 2008
    Posts
    80
    how to get the value of current screen brightness level?

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    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 chenziteng's Avatar
    Join Date
    May 2004
    Posts
    2,265
    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 C++
    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
  •  
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