B4A Library Brightness - Informatix    Jul 20, 2016   (19 reactions) As you probably noticed, Phone.SetScreenBrightness does not change the screen brightness but the brightness of the current window. Here is a library that allows to change the screen brightness and select the brightness mode (automatic/manual). It allows also to change the window brightness. Example: 'Sets the maximum brightness Dim B As Brightness B.SetScreenBrightnessMode(B.MODE_MANUAL) B.SetScreenBrightness(255) ... B4A Question Newbie Question : How can I change the phone settings? - Sam Koh    Jul 25, 2023 I realized that the following settings will be gone once I quit the App. Is there a way to keep these phone settings permanently until I next change them? Dim myPhone As Phone myPhone.SetScreenOrientation (0) myPhone.SetVolume (myPhone.VOLUME_SYSTEM,15,True) myPhone.SetScreenBrightness (-1)... B4A Question NullPointerException at anywheresoftware.b4a.phone.Phone.SetScreenBrightne ss - NeoTechni    Feb 2, 2013 SetScreenBrightness(Value As Float)
Dim phone1 As Phone
phone1.SetScreenBrightness(Value...'t let me use SetScreenBrightness, just Initialize, InitializeWithPhoneState and StopListening. And... B4A Question Phone Display Brightness - vb1992    Dec 4, 2011 ?
Does this need to be run as a service?
thanks
Dim PH as Phone
Ph.SetScreenBrightness...How do you get the phone brightness to stay set to your level
after you exit the app?
I set... B4A Question get / set brightness - Erel (first post)    Jul 23, 2019 You cannot get the brightness value if it is set to auto mode. You can set the brightness with Phone.SetScreenBrightness.... B4A Question Change brightness without permissions - klaus (first post)    May 26, 2023   (2 reactions) You can set the screen brightness with the Phone library. Private p As Phone p.SetScreenBrightness(0.5) The brightness value is a float number from 0 to 1. You could have a look at this post.... B4A Question Brightness Activity - MarkusR (first post)    Jul 23, 2018   (1 reaction) maybe this?
https://www.b4x.com/android/help/phone.html#phone_setscreenbrightness... B4A Question Keyboard brightness - joop (first post)    Feb 5, 2016 Phone.SetScreenBrightness that could work thanks.... B4A Question Display ON/OFF to save battery - Quandalle (first post)    Mar 17, 2022   (4 reactions) Dim p As Phone p.SetScreenBrightness(1.0) ' set Brightness : float value between 0.0 (min) and 1.0 (max) ... p.SetScreenBrightness(-1) ' restore automatic Brightness You ca also use PhoneWakeState Dim pw As PhoneWakeState pw.KeepAlive(False) ... B4A Code Snippet Disable access to the StatusBar (Notification bar) - Erel (first post)    Apr 7, 2016 Are you calling Phone.SetScreenBrightness? Can you upload a small project with only the overlay and the brightness functionality?... Page: 1   2   3   4   5   6   7   |