[APP][2.2+] Velis auto brightness 5.00

Search This thread

THRUSTer

Member
Jul 11, 2014
47
6
25
Dayton
www.aashishbharadwaj.com
@velis74

1. On Android 13, the .setOngoing(true) needs to be called on the notification, otherwise you can swipe it away.

2. If you set the notification to lowest priority, this happens (see attachment).
EDIT: XDA is buggy, attachment didn't work. See here:
3. If you try to select text on the Manual graph edit, it crashes. It's actually done that for years.
 

velis74

Senior Member
Mar 12, 2010
891
1,134
Radovljica
I'm about a good week or so from implementing Google required changes for publishing. It's going slowly with all the regular work interrupting me, but I'm just about finished. After that I expect a steady flow of commits / releases for all the outstanding issues and new features.

It's a bit premature, but I feel I need to answer a direct inquiry. Doesn't make much difference: soon a new version will be published to play store beta. No need for dramatic (re)entrances. :D
 

velis74

Senior Member
Mar 12, 2010
891
1,134
Radovljica
Should we be looking here or in the play store for the next release?
Since I published my announcement, exactly two things happened: First I went on a business trip to Denmark, then I fell ill.

So: zip, zero, nada.... :(

Regardless, I indend to use the "latest" Google advancements in beta testing and just create a public beta testing release channel in the play store. I will only upload to XDA if there's interest (Amazon, Huawei users?).

I will be left without two of my top lieutenants in December, so after the initial release, the update pace might be sluggish this year, but will definitely happen. Like I said: there's a huge backlog and my OC won't let me leave it alone.
 

velis74

Senior Member
Mar 12, 2010
891
1,134
Radovljica
@velis74

3. If you try to select text on the Manual graph edit, it crashes. It's actually done that for years.
Doing some pre-release testing:

I'm trying to duplicate this one (crash on manual graph edit selection). Tried on three different phones. No luck.

Exactly how do I need to try to select the text? I long press and then one of the numbers is selected. Dragging the handles doesn't crash the app. Copying the text doesn't either.

I'm at a loss.

Edit: sorry. if it crashes for you, could you send me a logcat of the crash?
 

timebandi

Senior Member
Aug 3, 2008
189
19
Doing some pre-release testing:

I'm trying to duplicate this one (crash on manual graph edit selection). Tried on three different phones. No luck.

Exactly how do I need to try to select the text? I long press and then one of the numbers is selected. Dragging the handles doesn't crash the app. Copying the text doesn't either.

I'm at a loss.

Edit: sorry. if it crashes for you, could you send me a logcat of the crash?

How do I get the crash log with logcat?

Here's a log from Android.

Here's a screen recording...
 
Last edited:

velis74

Senior Member
Mar 12, 2010
891
1,134
Radovljica

4.81.266 (7.12.2022)​

  • A release after a VERY long time
  • Minor notification fixes
I think I got the app to conform to all the Google requirements for continued publishing. Lots of work under the hood, nothing much to show for it.

The biggest improvement, I think, is the one where I was finally able to add a reward system for project helpers & contributors. I have basically created a "superuser" in-app purchase (unlocks everything in the app) which is intended to only be used with coupons you get from me. Such coupons can be obtained by reporting issues, giving great feature suggestions or translating the app. Works for past contributions as well, if any of you great project supporters are still around. Just PM me. For ongoing effort, you will receive a PM from me if my highly subjective opinion of your contributions crosses a threshold for the coupon.

The release is published in public beta channel on the Play store. Most likely pending validation by Google because this is the first publish of the app as an accessibility service.

Next week I will publish also details about the new way for translating the app. I will not have time today and then I'm gone for the weekend as well. So next week...
 

velis74

Senior Member
Mar 12, 2010
891
1,134
Radovljica
Oh, just to be clear: I expect there should be plenty of stuff still failing. I used three phones for testing, but I was most likely sloppy as well.

Hopefully most of the app will work for you.

Any feedback highly appreciated. Otherwise I'll feel really bad about this necro ;)
 
  • Like
Reactions: swieder711

timebandi

Senior Member
Aug 3, 2008
189
19
Good to see this project come back!

Waiting for be able to download it.

As I'm still using the app daily, I'm here to provide with any information I can give you! I really like this app!

I can also help translate for Swedish. I'm already in 2 projects on Crowdin so one more.....
:)
 

THRUSTer

Member
Jul 11, 2014
47
6
25
Dayton
www.aashishbharadwaj.com
Doing some pre-release testing:

I'm trying to duplicate this one (crash on manual graph edit selection). Tried on three different phones. No luck.

Exactly how do I need to try to select the text? I long press and then one of the numbers is selected. Dragging the handles doesn't crash the app. Copying the text doesn't either.

I'm at a loss.

Edit: sorry. if it crashes for you, could you send me a logcat of the crash?
There should hopefully be some logs in your Play Console since I have sent feedback when the crash occurred recently.

Here is a screen recording: https://photos.app.goo.gl/CJVmFQj4z7EvTUpx9
 
  • Like
Reactions: velis74

velis74

Senior Member
Mar 12, 2010
891
1,134
Radovljica
Latest update: Google is rejecting publish because I supposedly don't mention use of accesibility API prominently enough. Did two publishes already but it keeps getting rejected.

Since I'm out until next week this seems to have to wait until next week :(
 
  • Like
Reactions: asripath

swieder711

Senior Member
Latest update: Google is rejecting publish because I supposedly don't mention use of accesibility API prominently enough. Did two publishes already but it keeps getting rejected.

Since I'm out until next week this seems to have to wait until next week :(
Can you post the update here on XDA so that your fans can try it now and provide you with feedback?
 

Zebov

Senior Member
Feb 7, 2011
70
13
Google Pixel 6
Nothing to add other than praise. I'm a long time user who is running Android 13 for some time and so can't use the app anymore. Today on my way to work I was annoyed at how low my screen brightness was and decided to see if this app had been updated. Then I see this thread and it made my day. I can't wait!
 
  • Like
Reactions: swieder711

velis74

Senior Member
Mar 12, 2010
891
1,134
Radovljica
Latest update: Google keeps rejecting me saying I lack both prominent notice in play store description and one in the app. The notice about using accessibility API.

I have asked them to clarify. Seems I'm too stupid and can't understand what the instructions want me to do.

Hopefully there will be an answer within the week so that the publish might happen before new year.

In the mean time, the .apk is attached, as promised.

Edit: latest apk is now in a different post.
 
Last edited:

swieder711

Senior Member
Latest update: Google keeps rejecting me saying I lack both prominent notice in play store description and one in the app. The notice about using accessibility API.

I have asked them to clarify. Seems I'm too stupid and can't understand what the instructions want me to do.

Hopefully there will be an answer within the week so that the publish might happen before new year.

In the mean time, the .apk is attached, as promised.
Thanks for the update. Is there a changelog?

Edit: none of the presets or previous profiles seem to be working.

EDIT2: Uninstalled/reinstalled - presets are working again.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 7

    Planned tasks for January 2023​

    • Labels on settings screen drawing over switches
    • Support for one-line / small notifications
    • Add all missing permission notifications to snack message on main form
    • Settings wizard crashes when screen is rotated
    • Steady screen crashes if timeout value entered is too high
    • Steady screen only ever responds to three touches, not to the settings value
    • Additional brightness when charging doesn't work
    • Accessibility issue: volume slider stays for too long
    • Superdim issues on lock screen
    • Search field in excluded packages list
    There are an additional 52 tasks in the backlog.
    6

    4.84 (2.1.2023)​

    • A release after a VERY long time
    • Minor notification fixes
    • Fixes for some crashes
    • Excluded apps feature Android 11 support
    • Fix for manual curve editor selection crash
    Finally the app should no longer crash on manual graph editing screen.
    4

    5.01 (23.1.2023)​

    • Fix an issue where settings would not activate transparent widget setting on purchase
    • Fix for triple touch not accepting values higher than 3
    • Fix for app not receiving notification of charger plugging in / disconnecting

    Also, it seems one item fixed itself :)
    • Fix: Configuration wizard crashes on screen rotate

    Uploaded to Play store beta.
    4

    5.00 (4.1.2023)​

    • Support one-line notifications
    • Fix for integer settings not being clamped to acceptable ranges
    • Superdim disabled for android 11 and newer until a fix is found
    I should have bumped the version to 5.00 previously, but I'm just plain stupid. Hopefully, the uptake will be fast and I won't have to waste time identifying whether people are using app versions of old or the ones from now...

    The release procedure from now on will be:​

    • beta for one week
    • if no show stoppers: beta --> production
    • I will add a permalink to release history soon, but for some reason gradle won't build for me from command line while it builds from IDE...
    3
    I cant seem to find 4.84 on this thread or in the Play store Beta. Any pointers?
    It's still "in review" let's wait until morning, but it looks like I need to update the deploy procedure such that it will also build the .apk and always deposit it at a known location.

    But, TBH: the release cadence has been too aggressive these last two weeks. This was a result because we have a bottleneck with one job at work and I'm waiting for that job to complete before I can start working on the code myself. When this happens, VAB will take a slight hit. Still, the announced monthly task list should stick. I am back and fully maintaining this app. 😁

    Right now I would appreciate if somebody could take a stab at translations. I'd love some feedback there too 🙏
  • 228
    [APP][2.2+] Velis auto brightness 4.84

    A pretty powerfully adjustable auto-brightness app for your android device.

    Notice: project is alive again. Latest app version is in Play store, one week later in full release.

    Deployments from android 2.1 up. Latest versions development supports Android 5.0 and up.
    Any feedback highly appreciated.

    Beta testers (via Play Store beta program): just apply for beta.

    The app features a developer settings dialog which can be reached by long-pressing proximity reading on main screen.

    Google play link for download. (and description)

    Manual

    Looking to help with translations? Go
    here, register an account (if not registered already) and then click either "Join language" on existing language or "Suggest another language" if your language of choice is not yet in the project. Wait a bit for me to approve you and you can start translating.
    lease note that the translation app is still an early WiP, so drop me an email to jure (at) velis.si if something doesn't work right for you or if you have a suggestion.



    This app is translated to the following languages:
    * English - base language
    * Chinese by Jinran Lin
    * Czech by Holly Hell
    * Dutch by Maardiweb
    * French by Pims83
    * Italian by siggey
    * German by Chef Koch
    * Hungarian by XT69
    * Japanese by Magus & Masaki
    * Lithuanian by cukierkas
    * Norvegian by MrMastodon
    * Persian by Alireza Afkar
    * Polish by trur3
    * Romanian by rapttorx
    * Russian by Pavel Utochkin
    * Slovak by kubics
    * Spanish by UnderXP
    * Vietnamese by Vu Hien
    * Slovene

    Thank you all for your help. :highfive: VAB wouldn't be what it is without you!


    XDA:DevDB Information
    Velis Auto Brightness, App for the Android General

    Contributors
    velis74

    Version Information
    Status:
    Stable
    Current Stable Version: 4.84
    Stable Release Date: 2023-01-02
    Current Beta Version: 5.00
    Beta Release Date: 2023-01-05

    Created 2013-11-12
    Last Updated 2022-12-23
    12
    Thread reopened per moderator decision. Some of you already know there's a dispute with Lux auto brightness author regarding app description text. I have removed it in entirety to remove any ambiguity. Text on play store is in its 3rd revision which was written entirely from scratch. In my opinion it bears absolutely no resemblance to lux description.

    Please do not comment on this in your further posts. The thread should remain on-topic.
    If you still feel you have to say something about it, please PM me or the mod about it.

    In the mean time I have released v 1.10.32

    No more of no sensor reading (found out why service was crashing)

    I have however detected an issue when the device is in a constant light conditions (night). Although I have the sensor reading, the graph still drops to 0 and minimizes the brightness.
    Direct solution is to attempt to modify the graph and then cancel the operation. This will restore the brightness to the graph setting.

    Edit: fixed

    Edit: TO DO list updated and rearranged. Top items have high priority.

    Thanks for all the support so far, everyone. I never hoped for such a positive feedback.
    Jure
    10
    I think I found the cause of sensor readings getting stuck: it happens when you turn on the screen while proximity sensor is covered (active). The app then ignores the subsequent sensor readings because of proximity and when proximity is finally released, lack of further light events "causes" the app to not update the brightness according to most recent light reading. Of course, this mostly ever happens while in a dark room - that's when light events are very rare because the sensor just doesn't detect any changes in light.

    I have added an auto-generated event to occur just after the proximity sensor should release so that the brightness will then be updated. In my testing, I cannot reproduce the problem any more.

    I will upload the new apk to OP now and later today to the market. I just want to test a bit more because this isn't the only change I've done.
    10
    One of the best apps that I have used offlate. I am just addicted to it now. The development certainly needs to continue and if possible the future updates could add profile export ans restore feature. No need for frequent updates, as it is almost bug free now. Would just wish for Android 10 support.

    Yeah, decided to give it anbother go. Not sure when I will find the time, though. Need to fix wizard which took some damage when I was doing support for the new Androids. Hopefully there will be something before THIS new year. :angel:
    10
    Sorry for no activity guys, I get so little comp time lately :(
    I have however managed to make some progress and have updated first post with a new version that has the following new additions:

    • Service will stop after a minute if auto brightness is disabled
    • Support for proprietary sensor solutions on Sony Xperia, SGS2
    • Updated translations: german, persian

    This is not yet a release since I'd like to do two more things before I do that:
    1. Try to fix the graph freeze
    2. Create a first-start settings wizard

    In order to do the first, this version (in the first post, not the market) contains some logging enhancements. I would ask someone with the problem to please drop me a mail with logcat @ level 9 (long press the proximity sensor reading values to set the level). All I need is a few seconds @ level 9 when the graph is not responding to light changes.

    The second item will be a series of 4 - 5 dialogs asking the user about his basic preferences. I will make it so that even existing users will have the option of running this dialog.

    Of course, I'm also interested in Xperia sensor support if any Xperia users are still following the thread. Maybe for the support to work correctly, apps like this will need to be active. The app should work even without that, but there may be some strange results because OS and app will fight for their brightness. Don't know what the OS does if an app sets its own brightness.

    @shadowch: The baby is great, we're having so much fun. We already managed to get her to sleep during the nights (that's why I have no more comp time :D ) We're all going for a walk to lake Bled today.