yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Pkt_Lnt:
Does not go away for me, even after reboot. SGS4 Active Google 4.2.2 ROM port.

SG S4 Active / jb 4.2.2 GDE rom / tapatalk
[Android Apps and Games] velis74:
the switch is only available for android v3.0 - 4.2
[Android Apps and Games] Christiancs1969:
Thanks Sent me mad last night lol... CyanFox 4.3 rom ... Good..velis Working very nice for me at moment.. Thanks notification very nice
[Android Apps and Games] velis74:
3.15.141 (8.10.2013)

Interactive notification

Launcher widget can now also render transparent

Posted to beta and OP.

The second one was suggested by [MENTION=259765]200mpx[/MENTION] in a post long, long ago (#790 in fact)

I have made the notification a bit smoother (updating now doesn't completely regenerate the notification which resulted in some animation on my GNex). I also made it so that changing notification type kills the previous notification. This should now work better for [MENTION=4403217]Pkt_Lnt[/MENTION].
[Android Apps and Games] RovG:
Thanks [MENTION=2424510]velis74[/MENTION]. I like both of these new features. If I adjust brightness via I.N. it causes the graph to go a bit screwy. Pic 1 is before adj & Pic 2 is after. I did not confirm the adj. After 15 secs my screen switched off. I turned it on with the home button but even though the graph showed the previous state the brightness did not return to the previous state.
[Android Apps and Games] vuhien:
Compare with Lux Auto Brightness which better, Thanks :D
[Android Apps and Games] demolatorul:
Why don't you try and see for yourself
[Android Apps and Games] Pkt_Lnt:
Yes it does, thank you.
[Android Apps and Games] RovG:
[MENTION=2424510]velis74[/MENTION], Feature request: please could you display the current brightness as a value between -100 to 100 in the new interactive notification, perhaps centered above the slider bar.
[Android Apps and Games] velis74:
But what range would that be? Internal values go from 1 to 255. What would negative values represent? Otherwise I could do that, but I'm not sure of any value to this information. The progress bar is pretty accurate as far as human data resolution goes.
[Android Apps and Games] velis74:
I cannot replicate your situation. Just tried on two emulators and two physical devices, all in all 3 different android versions.

Is this situation easy for you to reproduce? Can you tell me the steps to do it?
[Android Apps and Games] velis74:
What about if I place this value on main form just below sensor readings?
[Android Apps and Games] velis74:
3.15.142 (16.10.2013)

A fix for faulty EXIF records in some phone models

Chinese language by Jinran Lin

[MENTION=5092158]lklaus[/MENTION]: This should fix your issues. The problem was because your image EXIF has shutter / apperture / ISO speed values in IFD0 directory instead of SubIFD directory. EXIF data is thus invalid. Despite this, I attempt to read the values from IFD0 if it is not found in SubIFD.

Thanks to Jinran Lin for chinese translation.

I'm still getting lots of flak about notifications. Most users (not the XDA dwellers though :D ) simply don't understand that notification is necessary for Android not to kill service practically immediately. I'm working on a method that will hopefully keep the service operational without notifications.
[Android Apps and Games] lklaus:
Hi Velis,

great, this works! Great work, thank you!

Klaus
[Android Apps and Games] RovG:
[MENTION=2424510]velis74[/MENTION], so I got a chance to do some more testing. In summary, this issue occurs with my combination of settings & I suspect it is also further influenced if connected to a charger. If I clear data, run through the wizard, the issue doesn't manifest. So unless I can somehow get my settings to you & you can test on an S2, I guess it will be difficult to find & fix

---------- Post added at 06:32 AM ---------- Previous post was at 06:24 AM ----------

-100 % would represent lowest brightness setting with maximum super dimming. 100% would represent maximum brightness with no super dimming. :)

---------- Post added at 06:38 AM ---------- Previous post was at 06:32 AM ----------

The purpose of having this show on the I.N. is assist the user in selecting a brightness level. i.e. the values should change as the user slides right or left on the slider bar

---------- Post added at 07:01 AM ---------- Previous post was at 06:38 AM ----------

Yes :eek: nah, just kidding, however I would like to propose some enhancements. Perhaps we could make it a bit more intuitive. The text from the manual reads as follows:

● The Confirm and Cancel buttons will Confirm or Cancel any manual brightness setting into the current brightness graph

Assuming that we can only have one manual setting confirmed or cancelled at a time. Then perhaps a push pin as an icon might be better. i. e. If the pin is pushed in (pinned) the current manual brightness setting is "remebered". If the user touches on a pushed in pin, the icon reverts to a non-pushed in view and the manual brightness over ride is "forgotten"
[Android Apps and Games] velis74:
3.50.149 (1.11.2013)

User interface via fragments

This one bullet took a lot more time than it looks. I think only cameras took more time than this :) But... I learned a bunch about fragments and gestures and animations while doing it. I hope you guys like the new look if I can even call it that.

As far as I tested, this should work properly, but I can't be sure. Especially the in-app store might be at risk as it is implemented more or less as an external thingie.

Uploaded to OP and Play Store beta.

Now to update screenshots and manual :P
[Android Apps and Games] RovG:
I don't think it is working as you intended on my GT-i9100. The icons stay on screen when you collapse them wasting valuable real estate. It is difficult to switch between collapsed view and expanded. I am going to wait for your screen shots to compare. Whilst it is still early days for the new look, I prefer the old look. :eek:
[Android Apps and Games] velis74:
Hm. I have uploaded main form screenshots to OP.

I have tested this look on screens as small as 240x320 and didn't find the real-estate functionally diminished. I can make the "menu" list go completely away - I just didn't think anyone would hate it so much so as to do it off the bat :D

Hopefully there will be more feedback so that I can make a well-informed decision about this.
[Android Apps and Games] RovG:
I think hate is to strong a word in this case. I take the time to test & provide feedback because I am truly grateful for your effort and work. I hope I don't come across negatively when providing feedback.

It would certainly be my preference to have the icons docked off screen when not required. It might be a cleaner and less cluttered look.
[Android Apps and Games] velis74:
No, seems like i was off the mark again. Your help is definitely appreciated. And you didn't come across negative, there was a smilie at the end of that sentence, see? :)

I'll see what i can do about menu hiding - i think requiring 2 gestures for that might not be the right approach, but i so hate adding more and more settings.
[Android Apps and Games] infinitecreators:
Very Impressive app
[Android Apps and Games] vuhien:
Velis auto brightness 3.15.142 English and Vietnamese

Velis auto brightness 3.50.149 Multilang and Vietnamese

Translated into Vietnamese by Vu Hien

:D
[Android Apps and Games] velis74:
Thanks for translation. Will include ASAP.

The current version was beta. I have just promoted it to production. Versions should match in an hour or so.
[Android Apps and Games] velis74:
3.55.151 (9.11.2013)

Minor visual glitch fixes

Interactive notification - only show the buttons once a custom brightness is set

No notification option for Android 4.3+ :victory::victory::victory::victory:

Vietnamese by Vu Hien

Uploaded to OP and Beta program for now.

Note that no notification option is a really ugly hack. I would appreciate any feedback on battery usage. To activate, go to settings and disable interactive notification.

Edit: my testing shows this is only working in this case: if super dimming is not used and if updating system brightness is on, then things will be OK when service is killed (and it's killed really often). Otherwise screen brightness will fluctuate all over the place.

[MENTION=4177034]RovG[/MENTION]: I think I might have fixed the graph getting all wacky when lux reading is 0 and brightness is set from notification.

Also:

No, this is not how it's meant to work. The function of these two buttons is equivalent to main form "Apply" / "Cancel" buttons when you start adjusting the graph. So if you make the adjustment, the cross button will cancel it and the check button will permanently accept it into your graph. It's quite different from "pin" behaviour. In a way, it's automatically pinned unless you press the cancel button.

I have fixed notification visuals so that the buttons only appear once you have made an adjustment and not before. I'm hoping it's more intuitive this way.

[MENTION=4778078]vuhien[/MENTION]: It seems you extracted the strings from apk instead of grabbing them from my gdrive. That must have been painful, especially since you then had to deal witn non-translatables as well :( Anyway, I included the strings, but please do check how they look in the final app, especially since I had to fix them some. If you need to fix them, please download translation files.[/SIZE]
[Android Apps and Games] velis74:
Meh, the no notification option may not work out after all (cry). Android just keeps killing the service no matter how hard i try to convince it against that. I'm trying some extreme settings right now, but I fear the impact on battery life won't be favourable.

I suppose for now i could place this feature into the developer options dialog.
[Android Apps and Games] velis74:
I have just uploaded 3.55.153 to Play store. It is effectively .151 with some fixes and no-notification option moved to developer options dialog.
[Android Apps and Games] velis74:
Just converted this thread to DevDB project. Going to take a while for me to acquaint myself with all the awesome functionality, but I think some things will be much easier to manage.

Now you have a separate page to report bugs, feature requests, etc. :D
[Android Apps and Games] angisbregolius:
I love this app and appreciate your effort...but I don't like last UI animations.

So can you add an option to choose if animation will be displayed? what is the last version without animations 3.15.142? Meanwhile there is an old version download page? Thank you.
[Android Apps and Games] velis74:
???

The UI is static unless you expand / collapse the screen list. That's the only animation there is. Exactly what would you like to un-animate?
[Android Apps and Games] sunsero:
Some of my excluded apps have vanished from the settings again. Could it be that this happens when you don't wait for the list of apps to load completely before you press the Ok button?
[Android Apps and Games] sunsero:
Another issue with the latest version is that the brightness adjusts almost immediately to the environment. Even though as camera read interval I configured 7 or even 10 seconds (on Samsung Galaxy S3 mini and Lenovo Yoga B6000. Btw, the last one claims to have a light sensor but I have to use the camera because the light sensor always delivers 19 or 20 as brightness.
[Android Apps and Games] ha.meier:
Hello Velis,

Thank you for your great Brightness app. But on my device (SE Xperia Ray, CM10, HDPI) the sidemenu is almost unusable. It reacts very slow and weird. I know the sidemenue is the new android style but i think the implementation is not very responsive, but maybe only on my old device. I'll stay with the old version.

Keep up the good work and Thank you!
[Android Apps and Games] velis74:
Can you be more specific about this? What is not responsive about the side menu?

Edit: To be more precise - animations last 1 second so - after that the side menu should be working fine. Even if your hardware can't do the animation fluidly, you only have 1 second of stuttering to endure. After that, everything should be normal.
[Android Apps and Games] velis74:
I'll look into it, but I doubt this is the reason for the disappearance. The selection is more permanent than that.

I'll look into refresh interval issue.

Edit: In the future, please also add bug reports in the appropriate section. I have done that for you this time. DevDB rocks :D
[Android Apps and Games] sunsero:
Thank you! Actually I've used Google to find DevDB. Well, had to search where those bug reports are because usually I'm accessing the xda forums with the xda app and not the web site. ;)

So maybe a link in the first post or in the manual or even within the app would be a good idea.
[Android Apps and Games] velis74:
Yes, the mobile apps don't work with DevDB yet. These things are only accessible from PC browsers for now, it seems.
[Android Apps and Games] ha.meier:
I'm sorry for writing such a unprecise post. I tested the app again and found out that there is no bug or so, the side menu is just working in a very uncommon way. I was expecting it to work like for example Play store side menu.

To have everything complete I would like to mention how the side menu works.

There are 3 states:

invisible

only icons visible

icons an text visible

To change from one view to an other I have to swipe to the right (invisible->icons&text or icons->icons&text) or to the left (icons&text->icons or icons->invisible). Every change of the state is done with a bouncing animation :cool: .

I don't have the right to criticize your work that you do for a free application but I would like to give you some more input to see what people think of your app and maybe also helping you to make a great app even better. Well I don't like this side menu at all a) because of the unusual way it works (animations, 3 states). I'd recommend you to add a side menu like in google play store (or an open source project: tint browser) that overlaps the main screen and follows your finger position and b) because on a small screen phone there is no space for the menu and the main screen. See the attached screenshots from my HDPI phone with a density of 240. There is just too little space. This would not happen with a overlapping side menu.

Thank you very much for your app. I owe you around 200 hours of battery life that i've safed using your app. I love it.

Kind Regards, ha.meier
[Android Apps and Games] velis74:
You are mistaken: you have EVERY right to criticize my app. Only through constructive criticism can I ever make it better.

That said, your screenshots are scary.

I don't know why you would want the expanded menu with text - the app should see that your screen is small and initially display only icons - but even so your screenshots look way more cramped than what I have here in 240x320 2.3 emulator.

This is exactly why I have offered 3 widths of the menu. Even your display should look fine if you shrink the menu to icons only (which should be the default). Can you post a screenshot of that? And tell me if that is indeed the default?

I can see two ways we can proceed from here:

1. The old look could be restored (through a setting of course)

2. The wide menu with text could be prohibited on screens that don't offer enough horizontal resolution

3. A combination of the above, e.g. if the user shrinks the menu into oblivion, they would get the context menu + the app would remember the menu width

Opinions?
[Android Apps and Games] ha.meier:
Wow, you're one of the politest developers I ever met. :good:

I've attached a screenshot with only the icons as you asked. And also one with an explanation what i meant with a overlapping menu. The main window would be greyed out a bit, and the side menu would stay when it has reached the full size. But don't bother with that idea, this would mean to start to program the menu all over.

Of your 3 options I would prefer the third. Or maybe an option to disable the menu on the setting menu.

Thanks and Regards, ha.meier
[Android Apps and Games] RovG:
Hi [MENTION=2424510]velis74[/MENTION], is VAB supposed to be accessing the gyroscope. Is this perhaps why VAB shows high usage in Android Battery Stats?
[Android Apps and Games] velis74:
Update: I took on the smoothing issues. I have made myself a visualiser of smoothing operation and have seen that current implementation is utter rubbish :eek:. Proceeding to fix this through a complete redesign.

No,actually VAB doesn't access gyro at all. I have no code in there even resembling that. My phone's GSAM doesn't list this.

But perhaps that's why VAB is listed such a major consumer in SGS2? Perhaps light sensor + gyroscope are tied together? Makes no sense though.

Edit: my nexus 10 shows app using temperature sensor...
[Android Apps and Games] tangcla:
Cool, auto brightness that's dependent on temperature - brighter if it's hot? :)

Just applied to join the beta testing group, just came across this app from Lux Lite, which is said not to change backlight brightness but act as an overlay on top of the existing screen. Nexus 5 here. So far, the impressions are good - the interface seems a bit Froyo-ish though, are there intensions of using a simpler Holo type theme instead of the icons?

---------- Post added at 11:26 AM ---------- Previous post was at 11:14 AM ----------

Also - a few comments based on my limited tinkering:

* When you pull the side drawer out, the animations seem a bit unnecessary - could there be an option to disable this?

* With Lux, there is an option to remove the notifications altogether, I'm not sure if this is done by the keep-alive interval as you suggested or whether it's done differently. Would it be possible to have this as a toggle switch in the settings? I can't get the developer settings to come up by long-pressing proximity reading (both the text and the value). EDIT: got it, by pressing the distance (not the current). In the FAQ you said that it's still in testing; does that mean it can't be enabled yet?

* In addition to have apps excluded from VAB, how about an option to have a pre-defined brightness setting or curve for certain programs? For example, I want high brightness in Gallery and Camera apps but don't want to burn my retinas when I open Gallery at night. :)
[Android Apps and Games] velis74:
I also don't like the icons, but those are pretty much the "best" I could get on a short notice. Exactly what would a holo type theme look like?

Ha ha, those animations are a direct result of me learning them :D I will probably remove them and do as [MENTION=3538645]ha.meier[/MENTION] suggested, but first I'd like to fix the smoothing function. That's what I'm doing ATM.

I have seen a forum post saying that Lux gets terminated if you remove the notification. As does VAB. I try to make that a non-issue through restarting right away. By saying it's in testing, I mean just that: it's in testing. I was running on it for two weeks now [MENTION=467413]500[/MENTION]ms, and found that quite satisfactory. The only occassions where service termination was obvious and frequent were while typing into browser inputs. Otherwise my phone was still smoothly operating on VAB.

I'm afraid to move it into regular settings though because I've had no feedback from you guys about your experiences and battery usage, so for now, it remains in dev options dialog.

I see what you mean (this is about the third attempt at responding to this, the first was: "but, but, but..." :) ). I have added this to TODO, but I'm not exactly sure how I should go about implementing it so as to not make it unintuitive. I'm still having users that manage to make their screens go black through superdimming and then give ME the one-star crap at play store....

Edit: Since I already have another TODO about those excluded apps, maybe now it will be easier to actually go ahead and implement it :)
[Android Apps and Games] tangcla:
How about a built in predefined Settings brightness which will be at a certain level, or set it so you can't do per-app changes to it?

---------- Post added at 05:32 PM ---------- Previous post was at 05:28 PM ----------

Can you style the app so it's like the Settings app on a tablet? Just text on the menu, I think that should be sufficient.

Does the beta version have an option for hiding the notification?
[Android Apps and Games] velis74:
Sorry, me no understand there this sentence.

Settings app has monochromatic icons on both my phone and tablet. Are you sure yours doesn't have icons? I'll gladly take icon suggestions if you can find better icons, but they must be free, this app isn't exactly raking in wads of cash ;) Though I admit I liked 2.3 colored icons better. What's the point of color screen if you only display grayscale on it?!? :angel:

The *regular* version has the option for hiding the notification, but you have to activate it in the dev options dialog (set a non-zero wake interval, possibly higer than 100ms or you will suffer high CPU usage). After that there will be a new switch in the settings. Currently there's no beta version. I need to fix smoothing first :)
[Android Apps and Games] tangcla:
Ah, found the setting - interactive notification! Was looking for other wording. And sorry, you're right, it does have monochrome icons - but they are very small icons. I think it looks tidier (plus it means you don't need the three-stage menu swipe-in)

What I meant was, maybe you can force Settings to be a certain minimum brightness, so even if someone makes their screen super dim, they can still go into settings.
[Android Apps and Games] velis74:
Well, the 3 stage thingie is there just so one can pick a witdh that suits them most. I didn't exactly anticipate folks to like the feature so much that they would frequently change the menu width :angel:

Oh, I get it now. But how would they return to settings if they can't see anything? The problem is usually only in this that they activate the super dimming under some bright light and then move to a dark room. Superdim activation does have a safety built-in which checks how dim the screen will be right when it activates. I do have a TODO that will change superdimming activation a bit making the immediate effect non-existent. User will have to change the graph subsequently to actually get dimmer.
[Android Apps and Games] tangcla:
Can it be set up like undervolt/overclock on kernels, where it kicks in after a predefined duration after boot? This would give an opportunity for an incorrect superdim to be rectified within, say, a minute of boot. But I don't know if this means it would be a root-only feature.
[Android Apps and Games] RovG:
How about press and hold up volume button for 3 seconds to turn VAB off?
[Android Apps and Games] velis74:
Both good suggestions.
[Android Apps and Games] djlucask:
One question: If i put VAB in system apps it would work perfectly? This way we could disable the notification without any issues?

thanks
[Android Apps and Games] velis74:
You mean if you bake your ROM such that VAB would be installed as a sys app together with the rest of ROM?

I do not believe VAB operation would change at all since VAB does not use any ROOT privilege calls that would allow it to take advantage of any elevated privileges. Additionally, VAB does not have the right signature to get any elevated privileges even if you do place it together with sys apps.

If you really wanted to change VAB behaviour such that it would not need any notification, and be part of ROM, you would have to transfer the service portion of the code into ROM auto-brightness handler and link the UI portion of the code to auto-brightness handler so that parametrization would remain as powerful. This would require transferring the entire functionality into ROM and settings.apk. Could be done, I suppose.

But there would have to be a ROM developer interested in the app enough to be willing to do the porting. I'm afraid I won't take on ROM cooking for a while yet since I'm enjoying my PA too much :D