[FREE] BrightnessTools - Set brightness of your phone

You might check this:

3 Likes

@matyas_mereles Yes, please look at the post @Mohamed_Tamer stated

2 Likes

Great extension. Man, kodular is on fire this year. Each day a new amazing improvement.

1 Like

@WatermelonIce , the toogle button to enable de permision is not enabled. i cant turn it on. please help me

1 Like

Did you try this?

Yes, i tried with that block my friend. :pensive:brillo

1 Like

What android version are you using?
Because version under Android 6.0 doesn’t need a individual permission.

I want when I press the A button on the screen the light will be raised as high as possible
How I can do it

in the button click event try
set Brightness to 100

Taifun

1 Like

It doesn’t work on a Xiaomi Redmi Note 5 (Android 9):

1 Like

as alternative I can offer the settings extension, which also offers a property to set the brightness…


Taifun
2 Likes

Can you clarify what doesn’t work? Like did the brightness change? Or the brightness isn’t the maximum?

Thanks! I believe yours is much more stable and better than mine :hugs:

As you can see in my blocks, I tried to set different values.
The brightness doesn’t change at all.

1 Like

Did you grant the write settings permission?

I tested it with Companion and this permission is already granted (in Companion):

<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
1 Like

What will happen if you set the Brightness to 0?

As I said:

1 Like

And you should grant it with call Screen.Open System Write Settings
Just tested it in my Virtual Pixel Phone and on my personal phone, it worked when the permission is granted. The get brightness will always work no matter the Write Settings are granted.

Here is a test aia: TestBrightnessTools.aia (25.2 KB)

1 Like

Ah, you should grant it after opening System Write Settings → call Screen.Open System Write Settings.

I tried it on another device beforehand and it worked without opening the System Write Settings (obviously it was already granted there).
Thanks.

1 Like

You should add these blocks to the extension description:

grafik

2 Likes