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

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...
 

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=45420162#post45420162

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
Removed play store version and install 1.0.10, I can't find the widget
Hmm. I remember noticing that too when I was developing the app. For some reason the launcher (in my case, Apex Launcher) is not refreshing its list of widgets. I remember for me when I completely uninstalled the app then re-installed the beta it started showing up. A reboot might help too? Can you let me know if you find something that works?
 

Tetsumi06

Senior Member
Dec 17, 2012
634
164
0
Bangor
Hmm. I remember noticing that too when I was developing the app. For some reason the launcher (in my case, Apex Launcher) is not refreshing its list of widgets. I remember for me when I completely uninstalled the app then re-installed the beta it started showing up. A reboot might help too? Can you let me know if you find something that works?
Reboot didn't help I'm afraid. Gotta note down my sense setup before I risk wiping data there to see if that helps.

----------------------o('_')o----------------------
Sent from an HTC One with using xda app:
TrickDroid ROM 9.1.0
Bulletproof 4.3

---------- Post added at 08:03 PM ---------- Previous post was at 07:54 PM ----------

Well f&#ksticks. Clearing Sense (Desktop) didn't help... Back in a bit, off to fix my desktops.

----------------------o('_')o----------------------
Sent from an HTC One with using xda app:
TrickDroid ROM 9.1.0
Bulletproof 4.3

---------- Post added at 08:11 PM ---------- Previous post was at 08:03 PM ----------

Back. Remembered that I ought to add that I'm using the TD stock Sense 5 launcher. Now out of ideas I'm afraid.

----------------------o('_')o----------------------
Sent from an HTC One with using xda app:
TrickDroid ROM 9.1.0
Bulletproof 4.3
 

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
Reboot didn't help I'm afraid. Gotta note down my sense setup before I risk wiping data there to see if that helps
I've been reading around on the web about this kind of issue. Can you try launching the app from the home screen like normal? I've read that this can force the launcher to refresh its widget list, especially if you installed the APK using "adb install", which doesn't always trigger the launcher to update its widget list. Also, confirm that you're using v1.0.10-Beta1 in the "About" screen of the application... perhaps you accidentally installed an older version of the app without widget support. Let me know how this goes for you.
 

Tetsumi06

Senior Member
Dec 17, 2012
634
164
0
Bangor
I've been reading around on the web about this kind of issue. Can you try launching the app from the home screen like normal? I've read that this can force the launcher to refresh its widget list, especially if you installed the APK using "adb install", which doesn't always trigger the launcher to update its widget list. Also, confirm that you're using v1.0.10-Beta1 in the "About" screen of the application... perhaps you accidentally installed an older version of the app without widget support. Let me know how this goes for you.
Did that, granted it su (twice), rebooted, uninstalled, relaunched, granted su again, rebooted, still no widget I'm afraid

----------------------o('_')o----------------------
Sent from an HTC One with using xda app:
TrickDroid ROM 9.1.0
Bulletproof 4.3
 

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
Did that, granted it su (twice), rebooted, uninstalled, relaunched, granted su again, rebooted, still no widget I'm afraid
Very strange. I'll keep investigating and see what I can come up with. Is anyone else able or not able to add the widget to the home screen with version 1.0.10-Beta1?
 

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=45438180#post45438180

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
Did that, granted it su (twice), rebooted, uninstalled, relaunched, granted su again, rebooted, still no widget I'm afraid
Can you try Beta2 (just posted). I made a change which might fix this issue for you.

The only change was to add
android:installLocation="internalOnly"
to AndroidManifest.xml, which, according to some sources (such as https://developer.android.com/guide/topics/data/install-location.html), indicate that this is required in order for widgets to work. This will, however, prevent installation of this app on an external SDCard though.
 
  • Like
Reactions: Stea1thmode

Tabtoub

Senior Member
Aug 3, 2011
1,000
520
0
Tunis
Dimming buttons is working as it should, thank you

But the full bright button which should make the button full bright (original state) is actually dimming the buttons a little bit, it's perfect for me like this, because the dim option dims the buttons way too much.

it's definately a bug so I'm reporting it :) great work!

Sent from my Black HTC One
Still the same problem with latest version..
 

denversc

Senior Member
Jul 1, 2012
428
320
0
Kitchener
Still the same problem with latest version..
Thanks for reminding me about this issue you reported a while ago about the "bright" setting not being full brightness on the HTC One, and the "dim" brightness being too dim.

Can you try out the attached test version of the app CapButnBrightness-1.0.10-HtcOneDimFix1.apk? Based on the "Debug Information" you provided I've plugged some different values for writing to the "currents" file (ie. 10 and 20 instead of 1 and 3 for dim and bright, respectively).
 

Attachments

Tetsumi06

Senior Member
Dec 17, 2012
634
164
0
Bangor
Afraid neither beta2 or the htcone fix seem to add a widget :(

----------------------o('_')o----------------------
Sent from an HTC One with using xda app:
TrickDroid ROM 9.1.0
Bulletproof 4.3
 

nur.salikeen

Senior Member
Jul 23, 2013
296
26
0
Johor
Clear data, uninstall, recovery, clear cache and delvik, install 1.0.10-Beta1.

Still don't have widget. I'm using sense launcher. ARHD Rom.

Sent from my HTC One using XDA Premium 4 mobile app