• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP] Button Launcher (button shortcuts/combinations) for Android Wear

Search This thread

moneytoo

Recognized Developer
Feb 20, 2007
1,415
1,274
brouken.com
Button Launcher is a completely free software for Android Wear 2.0 that allows you to define what apps will be launched based on up to two button press combination.

There is currently no other software for something like that. The "Wear Button Remapper" is paid app that allows remapping of long press primary button ("home"). "Bubble Cloud Wear Launcher" can do the same for free and it also add's detection for second longpress but the later is a paid feature.

For watches with only single (primary/home) button, there are only two shortcuts to set. The first is just long press that primary button followed with no other button press (within a configured timeout), the second are two long presses of primary button in a row.

Watches like Huawei Watch 2 with 2 hardware buttons allow for 4 different shortcuts:
  • Long press home button + no other action
  • Long press home button + long press home button
  • Long press home button + short press secondary button
  • Long press home button + long press secondary button
And additional 4 shortcuts if you map secondary button to start Button Launcher (in System Settings -> Personalisation -> Customise hardware buttons)

  • Secondary button press + no other action
  • Secondary button press + long press home button
  • Secondary button press + short press secondary button (A)
  • Secondary button press + short press secondary button (A)

output.png device-2018-03-06-001818.png device-2018-02-28-000000.png device-2018-02-28-000248.png

TODOs/Limitations
  • On watches with more than 2 buttons it's currently not possible (? looking for help) to create shortcut combinations starting with specific secondary button (what short press button was used to start Button Launcher). Making that work would probably require creating additional app shortcuts listed in the stock drawer/launcher.
  • The launch screen displays icon of an app that will be launched when time runs out. My final vision is to also show smaller icons of apps launched by button presses, closed to positions of real hardware buttons. Done

Download
Get it on Google Play: https://play.google.com/store/apps/details?id=com.brouken.wear.butcher
Source: https://github.com/moneytoo/ButtonLauncher

Please leave your feedback and requests. It will help prioritize future features and development.
 
Last edited:

Vegatta

Member
Jan 5, 2018
9
2
I tried the app and really like it. For my use, it would be nice to be able to select google assistant as one point and the already mentioned symbols on the to-do list would be nice. As an additional feature, I could imagine an option to just make the app only usable on the second button. So the top is working normal, lower button gives you several options.
All in all, it works flawless and is really useful, thank you so much for it.
 

codesplice

Senior Member
Jun 17, 2008
2,678
951
Huntsville, AL, USA
I like the idea, but not being able to launch Assistant directly kind of kills it for me. "OK Google" is way too unreliable so I've gotten used to just long-pressing to access Assistant. I'm not quite ready to give that up. Hopefully this won't be too difficult to implement. :)
 

moneytoo

Recognized Developer
Feb 20, 2007
1,415
1,274
brouken.com
@Vegatta @codesplice
Latest version (0.2) lists assistant apps in list of all apps. In my case the entry point for Google Assistant has no special name co it's just "Google". That should allow you to map it whetever you like.
Now I'm thinking whatever the long press primary button should be set to Assistant by default or should take user to the Settings screen. Well, maybe set Assistant as default and open Settings on the first launch. But that maybe a bit later. I have also fixed some bugs and will watch for other possible issues.
 

Jsilver73

Senior Member
Nov 5, 2013
3,144
2,345
48
Christchurch UK
I'm trying to get this app to work on my misfit vapour running Android wear 2 (Oreo).

I open it from my launcher and try clicking any of the options but nothing happens, long pressing the button brings up the app icon, but I can't interact with it at all.

Please can you help me to get this working, what I really want to do is to be able to enter theatre mode with long press.

TIA :)

Sent from my OnePlus5 using XDA Labs
 

moneytoo

Recognized Developer
Feb 20, 2007
1,415
1,274
brouken.com
I open it from my launcher and try clicking any of the options but nothing happens, long pressing the button brings up the app icon, but I can't interact with it at all.

Did you get to the Settings screen similar to those on pictures (just with less configurable options if your watch has only one button)? Button Launcher detects how it was launched (from launcher or button press) so it shows either Settings or actual screen used for launching configured apps (the one with app icon). Did you use system app drawer (launcher) or some 3rd party one? I can see that this can be a bug or unhandled case in Button Launcher and I was planning on testing starting Button Launcher from other 3rd party launchers.
 

Jsilver73

Senior Member
Nov 5, 2013
3,144
2,345
48
Christchurch UK
Did you get to the Settings screen similar to those on pictures (just with less configurable options if your watch has only one button)? Button Launcher detects how it was launched (from launcher or button press) so it shows either Settings or actual screen used for launching configured apps (the one with app icon). Did you use system app drawer (launcher) or some 3rd party one? I can see that this can be a bug or unhandled case in Button Launcher and I was planning on testing starting Button Launcher from other 3rd party launchers.

Launching from stock launcher, my device is misfit vapour - nothing is selected by tapping on either the app icon when it launched on long press nor the dialogue in the apps seeing apart from the long press time out setting which I can change.

Sent from my OnePlus5 using XDA Labs
 

moneytoo

Recognized Developer
Feb 20, 2007
1,415
1,274
brouken.com
Launching from stock launcher, my device is misfit vapour - nothing is selected by tapping on either the app icon when it launched on long press nor the dialogue in the apps seeing apart from the long press time out setting which I can change.

So if I understand correctly, you're saying that you don't have the two options: "Default action" and "+ Long press" in the "Long press primary button" category, right? The availability depends on the number of your watch buttons. As your watch has only the primary button, you should still see these options.
I think I could add a test (print button count) to the help section so we should be able to verify whatever it's because of this or not.
 
Last edited:

Jsilver73

Senior Member
Nov 5, 2013
3,144
2,345
48
Christchurch UK
So if I understand correctly, you're saying that you don't have the two options: "Default action" and "+ Long press" in the "Long press primary button" category, right? The availability depends on the number of your watch buttons. As your watch has only the primary button, you should still see these options.
I think I could add a test (print button count) to the help section so we should be able to verify whatever it's because of this or not.

Yep that's right, the settings from the app show up, wait, let me switch to browser and I'll upload some photos
 

Jsilver73

Senior Member
Nov 5, 2013
3,144
2,345
48
Christchurch UK
This is what I see on my watch, but neither of those screens allows me to select anything
 

Attachments

  • 20180304_162523.jpg
    20180304_162523.jpg
    251.8 KB · Views: 1,541
  • 20180304_162538.jpg
    20180304_162538.jpg
    248.7 KB · Views: 1,526

Vegatta

Member
Jan 5, 2018
9
2
Hey,
thank you for implementing the function so fast. used the app now for some days and I have to say I am really impressed. My only problem is that I sometimes forget the button combinations, but as that's anyway a planned feature, that's not a problem (and if then mine).
On a Zen watch3 I also got it running without any problems.

Thank you so much for the really useful app.
 

BackCheck

Senior Member
Mar 15, 2014
226
198
This works goot on a single button Ticwatch E. Is there any chance you could get it to trigger the screen timeout or lock instead of launching an app?
 

moneytoo

Recognized Developer
Feb 20, 2007
1,415
1,274
brouken.com
Work in progress:
This is my vision which luckily looks fine for me. (This is how it looks on my Huawei Watch 2 where icons are positioned based on real buttons.)

device-2018-03-05-202451.png
Long presses are better on the outermost circle since there is more room and the space will be cramped on watches like LG Sport. (All agree, right? :))
Now I need the rework the timeout progress bar but I'm not sure which way to go. One idea is to make it as wide as the outmost circle, another idea is to make it "pie chart" like inside the inner circle...

Edit:
device-2018-03-05-224434.png device-2018-03-05-225530.png

Edit2:
Done & pushed. :cool:
 
Last edited:
  • Like
Reactions: Vegatta and redukt

Vegatta

Member
Jan 5, 2018
9
2
So far it's only apps and Assistant but I'm exploring the options. In my case I would like to be able to start timers with specific time right away with button press.
The app works great and I really love that it shows now the buttons. Thaks for the awesome app.
But this feature could be really nice, to turn off Bluetooth connection, or start a timer in addition to apps, so if that could be added, it would be awesome.
 

Na!th

Senior Member
Mar 9, 2015
50
3
Is it possible to also remap a single long-press on the secondary button?

---------- Post added at 03:40 PM ---------- Previous post was at 03:37 PM ----------

Works great on HW1 with Wear 2.9 - many thanks!

Everyone who wants theater mode with the button have a look at:

https://www.reddit.com/r/AndroidWear/comments/64qitr/toggle_theater_mode_on_wear_20/

Works perfectly in combination with button launcher!

Cheers
Chris

Autowear also supports toggling Theater Mode already. (you also have to use the adb-commands to allow the permissions, but no root required).
I just used one of their Launchers (the one called "night" ,-) ) to start a securesettings-profile to toggle theatermode.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Button Launcher is a completely free software for Android Wear 2.0 that allows you to define what apps will be launched based on up to two button press combination.

    There is currently no other software for something like that. The "Wear Button Remapper" is paid app that allows remapping of long press primary button ("home"). "Bubble Cloud Wear Launcher" can do the same for free and it also add's detection for second longpress but the later is a paid feature.

    For watches with only single (primary/home) button, there are only two shortcuts to set. The first is just long press that primary button followed with no other button press (within a configured timeout), the second are two long presses of primary button in a row.

    Watches like Huawei Watch 2 with 2 hardware buttons allow for 4 different shortcuts:
    • Long press home button + no other action
    • Long press home button + long press home button
    • Long press home button + short press secondary button
    • Long press home button + long press secondary button
    And additional 4 shortcuts if you map secondary button to start Button Launcher (in System Settings -> Personalisation -> Customise hardware buttons)

    • Secondary button press + no other action
    • Secondary button press + long press home button
    • Secondary button press + short press secondary button (A)
    • Secondary button press + short press secondary button (A)

    output.png device-2018-03-06-001818.png device-2018-02-28-000000.png device-2018-02-28-000248.png

    TODOs/Limitations
    • On watches with more than 2 buttons it's currently not possible (? looking for help) to create shortcut combinations starting with specific secondary button (what short press button was used to start Button Launcher). Making that work would probably require creating additional app shortcuts listed in the stock drawer/launcher.
    • The launch screen displays icon of an app that will be launched when time runs out. My final vision is to also show smaller icons of apps launched by button presses, closed to positions of real hardware buttons. Done

    Download
    Get it on Google Play: https://play.google.com/store/apps/details?id=com.brouken.wear.butcher
    Source: https://github.com/moneytoo/ButtonLauncher

    Please leave your feedback and requests. It will help prioritize future features and development.
    2
    @Vegatta @codesplice
    Latest version (0.2) lists assistant apps in list of all apps. In my case the entry point for Google Assistant has no special name co it's just "Google". That should allow you to map it whetever you like.
    Now I'm thinking whatever the long press primary button should be set to Assistant by default or should take user to the Settings screen. Well, maybe set Assistant as default and open Settings on the first launch. But that maybe a bit later. I have also fixed some bugs and will watch for other possible issues.
    2
    This is what I see on my watch, but neither of those screens allows me to select anything

    Thanks for the shots. I'm pushing new version that works around the reported button count and always shows the universal single button settings. That should hopefully fix things for you.
    2
    Work in progress:
    This is my vision which luckily looks fine for me. (This is how it looks on my Huawei Watch 2 where icons are positioned based on real buttons.)

    device-2018-03-05-202451.png
    Long presses are better on the outermost circle since there is more room and the space will be cramped on watches like LG Sport. (All agree, right? :))
    Now I need the rework the timeout progress bar but I'm not sure which way to go. One idea is to make it as wide as the outmost circle, another idea is to make it "pie chart" like inside the inner circle...

    Edit:
    device-2018-03-05-224434.png device-2018-03-05-225530.png

    Edit2:
    Done & pushed. :cool:
    2
    Anyway ro map the key to do absolutely nothing or just back to the current watchface?

    Based on the number of requests, I've just added such feature. Please set "Blank action" to do nothing. I have just uploaded new version (0.7.3) to the Play Store so update should be available in a few hours.