Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8030419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:45:41+00:00 2026-06-05T00:45:41+00:00

I need to change the Screen brightness on a single page to make QR

  • 0

I need to change the Screen brightness on a single page to make QR Code reading easier.

I want to do this in the least invasive way possible for the user. I don’t really want to send them to the system settings just to make one activity brighter. On the other hand I dont want to request additional permissions if there is a way around this?

Can I prompt the user to provide the permission dynamically on an as needed basis? If not is there another permission that includes the android.provider.Settings.System.SCREEN_BRIGHTNESS permission?

I am trying to reduce the total number of permissions required for the user.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:45:42+00:00Added an answer on June 5, 2026 at 12:45 am

    If it’s just for your application, I’m pretty sure you don’t need to request a permission for it. To change the overall System brightness you do.

    Here’s a useful link I found:

    http://android-er.blogspot.com/2011/02/change-android-screen-brightness.html

    From the link:

    WindowManager.LayoutParams layoutParams = getWindow().getAttributes();
    layoutParams.screenBrightness = BackLightValue;
    getWindow().setAttributes(layoutParams);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to change my screen resolution programmatic way from 2560x1440 to 1680x1050, and
I want to change the Brightness, I can use this method: public static void
I need to change the color of the iPhone screen when i touch on
I have a change password screen and when the 2 passwords match i need
How I can change screen brightness in Android? I can find how to do
In my application, I need to change the screen backlight for testing. I am
The following code is for a splash screen in my app.What I need to
I need to change secondary monitor screen resolution dynamically. I found the following resource
Here is code example: http://jsfiddle.net/gubvw/3/ If you'll slowly change screen size by dragging sizer
I need to change screen resolutions using my application. How to: Read current resolution

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.