vb1992 Well-Known Member Licensed User Longtime User Apr 16, 2012 #1 Library: Get Screen Brightness Value Value returned is an int from: 0 to 255 Small library to get the screen brightness level. I only tested this with one device and it works. Please test, thanks. Attached library contains the library files, a sample app. VBBright Version: 1.0 Last edited: Apr 16, 2012
Library: Get Screen Brightness Value Value returned is an int from: 0 to 255 Small library to get the screen brightness level. I only tested this with one device and it works. Please test, thanks. Attached library contains the library files, a sample app. VBBright Version: 1.0
rfresh Well-Known Member Licensed User Longtime User Apr 16, 2012 #2 Works perfectly! Nice work! Much thanks... Upvote 0
corwin42 Expert Licensed User Longtime User Apr 16, 2012 #3 You don't need an extra library for this: B4X: Dim p as Phone brightness = p.GetSettings("screen_brightness") This does exactly the same as your library. Upvote 0
You don't need an extra library for this: B4X: Dim p as Phone brightness = p.GetSettings("screen_brightness") This does exactly the same as your library.
rfresh Well-Known Member Licensed User Longtime User Apr 16, 2012 #4 @corwin42 Thanks for that...while I didn't know about that capability, I can also use the app vb1992 wrote displaying the current brightness. Both will come in handy so thanks again!! Upvote 0
@corwin42 Thanks for that...while I didn't know about that capability, I can also use the app vb1992 wrote displaying the current brightness. Both will come in handy so thanks again!!