Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to control the screen brightness?
Forum Updated to NodeBB v4.3 + New Features

How to control the screen brightness?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HaoXiang
    wrote on last edited by
    #1

    Hi,
    I am new to Qt and I am developing an android app. My app requires to control the screen brightness but I am not sure on how to do this.
    I have looked online and they are saying about QAndroidJniObject and java but I am not sure on how to use them.
    Can anyone help me on the development of the screen brightness?

    Pradeep P NP 1 Reply Last reply
    0
    • H HaoXiang

      Hi,
      I am new to Qt and I am developing an android app. My app requires to control the screen brightness but I am not sure on how to do this.
      I have looked online and they are saying about QAndroidJniObject and java but I am not sure on how to use them.
      Can anyone help me on the development of the screen brightness?

      Pradeep P NP Offline
      Pradeep P NP Offline
      Pradeep P N
      wrote on last edited by
      #2

      Hi @HaoXiang

      Can you check this ?

      https://stackoverflow.com/questions/30745011/controlling-brightness-of-tablet-with-qt-android?answertab=active#tab-top

      All the best.

      Pradeep Nimbalkar.
      Upvote the answer(s) that helped you to solve the issue...
      Keep code clean.

      H 1 Reply Last reply
      2
      • Pradeep P NP Pradeep P N

        Hi @HaoXiang

        Can you check this ?

        https://stackoverflow.com/questions/30745011/controlling-brightness-of-tablet-with-qt-android?answertab=active#tab-top

        All the best.

        H Offline
        H Offline
        HaoXiang
        wrote on last edited by
        #3

        @Pradeep-P-N
        Thank you for the link. I have checked that before but I could not make it work as I am getting lots of errors when compiling. I am not sure if I am doing something wrong when using the code in that website.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved