[APP][Nov-13-2013] Capacitive Buttons v1.0.13

pcoruganti

Senior Member
Nov 18, 2011
267
23
0
I'm using mediatek chipset device. I'm able to turn off the back light completely. But dim option doesn't work. It says the system file with dim option not available. Is there any option to manually create it?

Sent from my mobiistar touch LAI 504 using Tapatalk 4
 

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
I'm using mediatek chipset device. I'm able to turn off the back light completely. But dim option doesn't work. It says the system file with dim option not available. Is there any option to manually create it?
I don't know anything about Mediatek chipsets unfortunately. However, if you provide me these two pieces of information by replying to this post I may have an idea:

1. A screenshot of the error message that you see
2. Copy & paste the contents of the app's Debug Information screen
 

pcoruganti

Senior Member
Nov 18, 2011
267
23
0
I don't know anything about Mediatek chipsets unfortunately. However, if you provide me these two pieces of information by replying to this post I may have an idea:

1. A screenshot of the error message that you see
2. Copy & paste the contents of the app's Debug Information screen
Here I attached the screenshot of the error. But I don't know how to get the app debug info.


Sent from my mobiistar touch LAI 504 using Tapatalk 4
 

Attachments

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
Effective immediately, I am making available a "Pro" version of the Capacitive Buttons application. The free and pro versions will be exactly the same, with the only difference being that the pro version will receive bug fixes and new features before the free version.

https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness.pro

I'm making this change for several reasons:
  • Make a little bit of extra money (I'm saving up to buy a new bass guitar)
  • Provide motivation to continue developing and improving the app
  • Give people a monetary way to say "thanks man for making this awesome app!"

There will be a promotional price of USD $0.99 for 2 weeks, with the price rising to USD $2.00 on Sunday September 22. Hopefully this will quell any anger that people may feel about the new pricing model.

If you are unable or unwilling to pay for the Pro version, there are still ways that you can get access to the latest features for free, all of which I fully support and encourage:
  • Continue using the free version; it will be updated with the exact same features and bug fixes as the pro version 2-4 weeks later
  • Use beta versions posted in xda-developers.com forum threads, versions which contain the new features and often are identical to the official app released on the Google Play Store

So the main motivation for someone to pay for the pro version is to get official app updates easily and automatically via the Google Play Store. If you're happy with waiting for updates or using beta versions then you can live a full and happy life with the free version.

Speaking of new features...
 
  • Like
Reactions: schinge

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new beta version of this app is available: v1.0.10-Beta01. The new feature is a home screen widget. Please test the attached CapButnBrightness-1.0.10-Beta1.apk and reply with your experiences, good or bad.

EDIT: A newer beta version is available: http://forum.xda-developers.com/showthread.php?p=45420169#post45420169

Changes in v1.0.10-Beta1 (since v1.0.9)
  • Home screen widget

Please reply to this post with your feedback. If reporting issues, please go to the "Debug Information" screen, press the "copy" button, and paste its contents. This will immensely help with investigation of issues. You can also attach a screenshot of this screen if that is easier.

Reminder: This "beta version" of the app is signed with a developer key so it will fail to install if you have an official version of the app installed. So you must first uninstall any official versions of the app before installing this test version.
 

Attachments

Last edited:

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
Here I attached the screenshot of the error. But I don't know how to get the app debug info.
Yep, there's nothing you can do about that. Your kernel does not support the dim setting. You can't just create the file because it's not a real file but rather a virtual file created by the kernel. You can try flashing a different kernel. But if that doesn't work then dim will not work for you.
 

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new beta version of this app is available: v1.0.10-Beta02. The APK file is attached.

EDIT: A newer beta version is available: http://forum.xda-developers.com/showthread.php?p=45438197#post45438197

Changes in v1.0.10-Beta2 (since v1.0.10-Beta1)
  • Fix turning buttons backlight back on when the screen turns on if the backlight is exclusively set via the widget
  • Potential fix for the widget not showing up in the launcher's list of widgets (ie. setting android:installLocation="internalOnly")

Please reply to this post with your feedback. If reporting issues, please go to the "Debug Information" screen, press the "copy" button, and paste its contents. This will immensely help with investigation of issues. You can also attach a screenshot of this screen if that is easier.

Reminder: This "beta version" of the app is signed with a developer key so it will fail to install if you have an official version of the app installed. So you must first uninstall any official versions of the app before installing this test version.[/QUOTE]
 

Attachments

Last edited:

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new beta version of this app is available: v1.0.10-Beta3. This should fix the issue where the widget was not displaying in the widget picker in Sense 5 ROMs. Please test the attached CapButnBrightness-1.0.10-Beta3.apk and reply with your experiences, good or bad.

NOTE: If using a third-party launcher, like Apex Launcher, and the widget is not showing up in the widget picker, try doing the following:
  1. Open the device settings screen
  2. Select "Apps"
  3. Click on your launcher in the app list (eg. "Apex Launcher", "Nova Launcher")
  4. Click "Force Stop"
  5. Scroll down and click the "Clear Cache" button; you may need to wait for up to 10 seconds for it to become un-grayed
  6. Press the HOME key to go back to the home screen
  7. The widget should now appear in the widget picker

Changes in v1.0.10-Beta3 (since v1.0.10-Beta2)
  • Fix issue where widget does not show up in widget picker in Sense 5 (by setting minWidth=40dp and minHeight=40dp)

Changes in v1.0.10-Beta2 (since v1.0.10-Beta1)
  • Fix turning buttons backlight back on when the screen turns on if the backlight is exclusively set via the widget
  • Potential fix for the widget not showing up in the launcher's list of widgets (ie. setting android:installLocation="internalOnly")

Changes in v1.0.10-Beta1 (since v1.0.9)
  • Home screen widget added

Please reply to this post with your feedback. If reporting issues, please go to the "Debug Information" screen, press the "copy" button, and paste its contents. This will immensely help with investigation of issues. You can also attach a screenshot of this screen if that is easier.

Reminder: This "beta version" of the app is signed with a developer key so it will fail to install if you have an official version of the app installed. So you must first uninstall any official versions of the app before installing this test version.
 

Attachments

  • Like
Reactions: [email protected]

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new version of this app is available: v1.0.10. This version adds a home screen widget and uses better brightness levels for the HTC One. This version has been published to the Google Play Store in the "Pro" version; the free version will be updated to on Sept 24, 2013. Note that the $0.99 sale on the Pro version is in effect until Sept 22, 2013.

Changes in v1.0.10 (since v1.0.9)
  • Home screen widget added
  • Brightness levels improved on HTC One

Pro Version in Google Play Store: https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness.pro

Reminder: This "release version" of the app is signed with the official key so it will fail to install if you have a beta version of the app installed. So you must first uninstall any beta versions of the app before installing this release version from the Play Store.
 

Attachments

Last edited:

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
The "free" version of the app has now been upgraded to v1.0.10, and includes all features in the Pro version 1.0.10. The new version of the app will be available from the Google Play store in the next 24-48 hours. For the impatient, the APK can be downloaded from http://dl.bintray.com/sleepydragon/CapacitiveButtons/CapButnBrightness-1.0.10.apk and installed manually.

Reminder: If you have a beta (or any non-release) version of this app installed then you will need to first uninstall it before installing this official version. Failing to do so will result in attempts to install the release version failing due to the non-release versions being signed with a developer key and the release versions signed with a release key.
 

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new beta version of this app is available: v1.0.11-Beta01. The main new feature is an improved mechanism for requesting root permissions, which leads to a "snappier" application experience. Please test the attached CapButnBrightness-1.0.11-Beta1.apk and reply with your experiences, good or bad.

EDIT: A newer beta version is available: http://forum.xda-developers.com/showthread.php?p=46093848#post46093848

Changes in v1.0.11-Beta1 (since v1.0.10)
  • Completely re-wrote the mechanism that requests root; see below for details and benefits
  • HTC One S official support added
  • ACCESS_SUPERUSER added to AndroidManifest.xml (to note superuser requirements in Google Play Store)

Improved Root Mechanism
Old Behaviour: Root is requested every time that the brightness changes.
New Behaviour: Root is requested the first time that the brightness changes, and after each reboot; all other brightness changes do not request root.
The net result of this change is that changing the brightness is "snappier", and happens more quickly.
This should also fix Issue 27 "If superuser has a PIN, root requests are too frequent and time out" (https://code.google.com/p/hox-cap-butn-brightness/issues/detail?id=27)

Please reply to this post with your feedback. If reporting issues, please go to the "Debug Information" screen, press the "copy" button, and paste its contents. This will immensely help with investigation of issues.

Reminder: This "beta version" of the app is signed with a developer key so it will fail to install if you have an official version of the app installed. So you must first uninstall any official versions of the app before installing this test version.
 

Attachments

Last edited:

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new beta version of this app is available: v1.0.11-Beta02. The main new feature is a further improved mechanism for requesting root permissions, which leads to a "snappier" application experience. Please test the attached CapButnBrightness-1.0.11-Beta2.apk and reply with your experiences, good or bad.

EDIT: A newer beta version is available: http://forum.xda-developers.com/showthread.php?p=46316900#post46316900

Changes in v1.0.11-Beta2 (since v1.0.11-Beta1)
  • Request root on a background thread instead of the main thread to avoid UI hangs
  • Explicity turn on buttons backlight when screen turns on (affects HTC One XL evita only)

Changes in v1.0.11-Beta1 (since v1.0.10)
  • Completely re-wrote the mechanism that requests root; see below for details and benefits
  • HTC One S official support added
  • ACCESS_SUPERUSER added to AndroidManifest.xml (to note superuser requirements in Google Play Store)

Please reply to this post with your feedback. If reporting issues, please go to the "Debug Information" screen, press the "copy" button, and paste its contents. This will immensely help with investigation of issues.

Reminder: This "beta version" of the app is signed with a developer key so it will fail to install if you have an official version of the app installed. So you must first uninstall any official versions of the app before installing this test version.
 

Attachments

Last edited:

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new beta version of this app is available: v1.0.11-Beta03. The main new feature in this beta is an animation that was added to the home screen widget when it is touched. Please test the attached CapButnBrightness-1.0.11-Beta3.apk and reply with your experiences, good or bad.

Changes in v1.0.11-Beta3 (since v1.0.11-Beta2)
  • Add animation to home screen widget
  • Clean up some logcat log messages

Changes in v1.0.11-Beta2 (since v1.0.11-Beta1)
  • Request root on a background thread instead of the main thread to avoid UI hangs
  • Explicity turn on buttons backlight when screen turns on (affects HTC One XL evita only)

Changes in v1.0.11-Beta1 (since v1.0.10)
  • Completely re-wrote the mechanism that requests root; see below for details and benefits
  • HTC One S official support added
  • ACCESS_SUPERUSER added to AndroidManifest.xml (to note superuser requirements in Google Play Store)

Please reply to this post with your feedback. If reporting issues, please go to the "Debug Information" screen, press the "copy" button, and paste its contents. This will immensely help with investigation of issues.

Reminder: This "beta version" of the app is signed with a developer key so it will fail to install if you have an official version of the app installed. So you must first uninstall any official versions of the app before installing this test version.
 

Attachments

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new version of this app is available: v1.0.11. This version addresses some long-standing issues with UI hangs and superuser permissions usage. It also adds an animation to the home screen widget. This version has been published to the Google Play Store in the "Pro" version; the free version will be updated to v1.0.11 on Nov 13, 2013. Note that the $0.99 USD sale on the Pro version expired on Sept 22, 2013 and the price is, at the time of writing, $2.00 USD.

Changes in v1.0.11 (since v1.0.10)
  • Animation added to home screen widget
  • Improved superuser permissions usage
  • Fix lags and hangs of the UI when changing brightness levels
  • Fix occasional issue turning buttons backlight back on with screen on HTC One XL (evita)
  • HTC One S officially supported
  • Logcat log messages cleaned up

Pro Version in Google Play Store: https://play.google.com/store/apps/details?id=org.sleepydragon.capbutnbrightness.pro

Reminder: This "release version" of the app is signed with the official key so it will fail to install if you have a beta version of the app installed. You must first uninstall any beta versions of the app before installing this release version from the Play Store.
 

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
A new version of this app is available: v1.0.13. This version fixes issues with the buttons backlight turning off, avoids cycling through "dim" in the widget if not supported, and adds HTC Sensation support. This version has been published to the Google Play Store in the "Pro" version; the free version will be updated to v1.0.13 on Dec 04, 2013.

The free version has also been updated to v1.0.12, and is available in the Play store and the APK is also available for download.

Please see http://forum.xda-developers.com/showthread.php?p=47453810#post47453810 for details and a link to the APK of the updated free version.

Changes in v1.0.13 (Since v1.0.12)
  • fix issue where buttons backlight sometimes turns off after a few seconds instead of staying on
  • avoid cycling through the "dim" setting in the widget if dim is not even supported
  • HTC Sensation support added
  • fix issue where "dim not supported" is erroneously reported on when selecting "off" brightness when dim is not supported (HTC One X international quad-core variant only)
  • correct spelling error in a dialog: brigtness -> brightness

NOTE: If you have a beta or test version of this app installed, you must first uninstall it before installing one of these two official versions. The reason is that having two versions of the app installed will interfere with each other. Also, the official APKs are signed with the "official" key, whereas the beta/test versions are signed with the developer key, and if keys don't match then the app will fail to install.
 

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
  • Like
Reactions: grigoriisi