[APP] Button Launcher (button shortcuts/combinations) for Android Wear - Wear OS Software and Hacking General

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)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.

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.

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.

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

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 said:
@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.
Click to expand...
Click to collapse
Works brilliantly! Thanks so much for addressing that so quickly. Now I can see myself using this a lot!

Jsilver73 said:
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.
Click to expand...
Click to collapse
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.

moneytoo said:
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.
Click to expand...
Click to collapse
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

Jsilver73 said:
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.
Click to expand...
Click to collapse
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.

moneytoo said:
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.
Click to expand...
Click to collapse
Yep that's right, the settings from the app show up, wait, let me switch to browser and I'll upload some photos

This is what I see on my watch, but neither of those screens allows me to select anything

Jsilver73 said:
This is what I see on my watch, but neither of those screens allows me to select anything
Click to expand...
Click to collapse
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.

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.

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?

BackCheck said:
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?
Click to expand...
Click to collapse
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.

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.)
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:
Edit2:
Done & pushed.

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

moneytoo said:
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.
Click to expand...
Click to collapse
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.

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 ----------
Primetime_de said:
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
Click to expand...
Click to collapse
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.

Na!th said:
Is it possible to also remap a single long-press on the secondary button?
Click to expand...
Click to collapse
Unfortunately AFAIK it's not possible with the current set of Android Wear API.

Related

[Q] Best multitasking switcher?

I've tried nearly every multitasking switcher on the market and I still cant find one that works correctly. Is there a switcher that goes to ADW on single tap home and goes to the switcher on either long press or double tap?
heres a list of what I've tried (issues are in parentheses)
powerstrip (too small, single tap access)
Quickdesk pro (doesn't work, makes screen flash black and go crazy)
perfect task switcher (single tap access, wonky)
MultiTask Manager (single tap access)
TaskOS (no home button setting)
Underground (takes over the screen, isn't really a task switcher,ugly list)
Appswipe (clunky, ugly, paid to set to home button)
Softkeys- Would be awesome, if I could get the settings to work as advertised (see below)
Prehome (best task switcher BUT single tap access)
Softkeys:
Softkeys has an option for setting single tap home (ADW) and then an option for long press home (PreHome). This would be the perfect solution, but for some reason the long press home doesn't work no matter what I do. Any Ideas?
The Ideal task switcher for me would be anything simple (a bar or box with icons) that could be brought up with double or long click home. If you know of any I'd love to try them out.
I would like to figure this out as well. Haven't seen anything about it around here
Sent from my LogicPD Zoom2 using XDA App
motitas said:
Softkeys:
Softkeys has an option for setting single tap home (ADW) and then an option for long press home (PreHome). This would be the perfect solution, but for some reason the long press home doesn't work no matter what I do. Any Ideas?
The Ideal task switcher for me would be anything simple (a bar or box with icons) that could be brought up with double or long click home. If you know of any I'd love to try them out.
Click to expand...
Click to collapse
Softkeys works for me, I have it set for single tap home and double tap softkeys. I don't believe Softkeys supports long button presses, I think that option is referring to the virtual home button that Softkeys presents on screen when called up.
thecubed said:
Softkeys works for me, I have it set for single tap home and double tap softkeys. I don't believe Softkeys supports long button presses, I think that option is referring to the virtual home button that Softkeys presents on screen when called up.
Click to expand...
Click to collapse
Yes, it does not support long press on the physical button, that would be nice... As said above, it's a long-tap on the Home button on the popup.
Any ideas if we are using button Savior instead of soft keys?
Sent from my LogicPD Zoom2 using XDA App
motitas said:
I've tried nearly every multitasking switcher on the market and I still cant find one that works correctly. Is there a switcher that goes to ADW on single tap home and goes to the switcher on either long press or double tap?
heres a list of what I've tried (issues are in parentheses)
powerstrip (too small, single tap access)
Click to expand...
Click to collapse
Powerstrip does single or double tap. I currently have mine setup with ADW EX. Single tap to Homescreen and double tap to invoke.
I might use power strip then, is there a way to make it larger? As for the long press on home, hopefully we'll see cm on the nc
EDIT:
I got powerstrip working pretty well, but as I said before I wouldn't mind it being slightly bigger, also the "recent apps" folder has a few issues of its own. When a large game (or grooveshark) is in the recent apps and you try to launch it you get an "activity no found" error.
I found PreHome to work best.
I have the physical button mapped to PreHome, then when have PreHome open SoftKeys.
I like button savior. It pull the last 6 apps that u have used when you long press the soft home button.
seeddemon said:
I like button savior. It pull the last 6 apps that u have used when you long press the soft home button.
Click to expand...
Click to collapse
........as does softkeys..
Try swipepad beta... I dig it.
Works from anywhere in an app or not
Sent from my LogicPD Zoom2 using XDA App
You may want to check out Taskswitcher (free). Once set up it uses single press on physical home key to invoke recent apps list and allows you to set up your own home app for double tap. Long press is not supported I don't think. If anyone knows of apps that allow setting long press actions (recent apps or otherwise) please share. I did notice in the DEV forum that someone made a custom Froyo version with custom home button behavior including long press so maybe someone could share how to set that up in 2.1 if thats possible.
seeddemon said:
I like button savior. It pull the last 6 apps that u have used when you long press the soft home button.
Click to expand...
Click to collapse
Thanks for this tip! I replaced SK with BS a day or two after rooting, and had no idea this functionality was built into BS!
If you turn off the sk service check mark you can double press the nook button and still use bs
Sent from my LogicPD Zoom2 using XDA App
rbebber said:
If you turn off the sk service check mark you can double press the nook button and still use bs
Sent from my LogicPD Zoom2 using XDA App
Click to expand...
Click to collapse
SK Service?
What is this and where do i find it.
seeddemon said:
SK Service?
What is this and where do i find it.
Click to expand...
Click to collapse
SK Service is the SoftKeys service. If it's running, you get a curly arrow in a circle that allows you to bring up the home, back, menu, and search buttons. It should be installed by default if you autonooter. Otherwise, it's available in the Dev section of the forum.

Softkeys or...?

How are you, NC enthusiasts using softkeys with your NC? I find it annoying to touch a small button and then additional touch every time I need to go back or pop up a menu. Also this small button is always covering something which can be tapped as well. Too much hassle.
No need to touch a small button. The softkeys simply flank both sides of the launcher.
hrizzy said:
How are you, NC enthusiasts using softkeys with your NC? I find it annoying to touch a small button and then additional touch every time I need to go back or pop up a menu. Also this small button is always covering something which can be tapped as well. Too much hassle.
Click to expand...
Click to collapse
I find soft-keys to be a god send for the NC, If you don't like the button you can just turn that feature off and setup soft-keys to pop up when you press the N key instead.
Or you could try button savior, which is in the market, many people are using it, but i found it far more annoy and less usefull.
Right now I have softkeys setup with the small button, at 75% transparent. and then i have the hard key N setup to single click my Launcher and double click brings up softkeys.
Also you know you can drag that button out of the way right? I have mine just above Middle and just enough off the edge to sneak a figure between it and the side, found it to be mostly out of the way there and I almost never have to move it.
I'm happy with button savior
I map menu and back to volume Up/down. I just don't like to have an extra tap with softkey
I'll add my vote to button savior. Softkeys was in the way. I would also rather not map it to the N key as I use that for a task switcher. Button savior almost never results in accidental presses, is easy to get to, and does what I need. What else can I ask for?
hrizzy said:
How are you, NC enthusiasts using softkeys with your NC? I find it annoying to touch a small button and then additional touch every time I need to go back or pop up a menu. Also this small button is always covering something which can be tapped as well. Too much hassle.
Click to expand...
Click to collapse
Set it up right and you get no silly button on the screen, use the N button to show the menus when necessary.
http://nookdevs.com/index.php?title=NookColor_Default_Launcher
And of course it any apps that hide the status bar, see if they have an option not to do it. Often they do, although most games don't.
nicbennett said:
I'll add my vote to button savior. Softkeys was in the way. I would also rather not map it to the N key as I use that for a task switcher. Button savior almost never results in accidental presses, is easy to get to, and does what I need. What else can I ask for?
Click to expand...
Click to collapse
Thanks for the recommendation. I agree this is much better than softkey.
thecalip said:
I map menu and back to volume Up/down. I just don't like to have an extra tap with softkey
Click to expand...
Click to collapse
That's a great idea, how did you do that?
+10 for button savior
Sent from my LG vx9800 using XDA App (not really)
thecalip said:
I map menu and back to volume Up/down. I just don't like to have an extra tap with softkey
Click to expand...
Click to collapse
That's a great idea, how did you do that?
WOW! While I was flying back from New York, 2 pages of advices. Thanks for answers. Looking and trying at button savior... Seems the same - first tap to call shortcuts, second for back/menu.
I understand that this is because much Android software is done for phones, not tablets yet. What I really dislike that in Honeycomb they just sticked to the same philosophy, only adding the navigation bar at the bottom, imitating hardware buttons.
Volume buttons seems to be a good advice, but I always miss which button is for back, which for menu.
Not sure how so many like softkeys, anyone thats been on android for a while must have gotten used to having keys on their device. Thats why I dislike softkeys, too many taps and its always in the way, I much prefer the default Nook notification bar with back and menu buttons constantly there and I really like HoneyComb's implementation alls you need is a big square device you can move it around all day and your buttons follow you.
I'll try button savior if its nice I can do Nookie, though with HoneyComb being stable of late I can't see going back, only for flash maybe.
nicbennett said:
I'll add my vote to button savior. Softkeys was in the way. I would also rather not map it to the N key as I use that for a task switcher. Button savior almost never results in accidental presses, is easy to get to, and does what I need. What else can I ask for?
Click to expand...
Click to collapse
I have SoftKeys setup without the floater button, just press N key and SoftKeys comes up. At the bottom are all the soft keys (and now you can add the volume keys there, in case you want to remap the hard volume keys but still have constant volume control), and at the top is a Task Switcher with all my recent apps in order. Setting N to a task-switcher-only setup seems like an unnecessary sacrifice of features.
vapor63 said:
I have SoftKeys setup without the floater button, just press N key and SoftKeys comes up. At the bottom are all the soft keys (and now you can add the volume keys there, in case you want to remap the hard volume keys but still have constant volume control), and at the top is a Task Switcher with all my recent apps in order. Setting N to a task-switcher-only setup seems like an unnecessary sacrifice of features.
Click to expand...
Click to collapse
+1
10 chars
Not sure how I did it, but I don't have a floater button at all, nor do I have to press anything to bring up Softkeys. They're just always there flanking either side of the regular BN button. One on the left is back obviously and the one of the right is menu. They show up in any program where I can see the BN button in the middle. The hardware button is the home button obviously. All I'm missing is search which I never use.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A. Nonymous said:
Not sure how I did it, but I don't have a floater button at all, nor do I have to press anything to bring up Softkeys. They're just always there flanking either side of the regular BN button. One on the left is back obviously and the one of the right is menu. They show up in any program where I can see the BN button in the middle. The hardware button is the home button obviously. All I'm missing is search which I never use.
Click to expand...
Click to collapse
That's the default rooted config.
Ok. Then why would you use Softkeys?
It kills me when people talk about how BS is better than SK because of something when SK could be configured to do that exactly the same way if they only bothered to look in the settings menu.
RoboRay said:
It kills me when people talk about how BS is better than SK because of something when SK could be configured to do that exactly the same way if they only bothered to look in the settings menu.
Click to expand...
Click to collapse
Why does it kill you. I like BS alot better. Sure I could config softkey but I actually prefer BS. You pick what you pick and I will use what I want to use.
Sent from my GT-P1000 using Tapatalk

[Q] Remapping Menu button to Recent Apps

Hello,
I would like to remap the menu key on my GSIII.
I'm currently using the latest cm9 nightly (cm-9-20120624-NIGHTLY-i9300.zip)
I found the file which keeps the button actions /system/usr/keylayout/sec_touchkey.kl
I tried to edit that file. Changed the MENU command to APP_SWITCH. Then I made a reboot. It worked, my menu key is now shows recent apps.
I thought that a menu button will appear on apps, but they didn't. How can I make them appear? Any solution?
Thanks.
bump. any help?
I have the same problem, though I am trying to disable the menu and back buttons. Any help would be appreciated
Is there a way to do this without rooting and a custom rom? I would like to do this on my stock TouchWiz.
Sent from my GT-I9300 using XDA
afaik the on screen menu button will appear only if the virtual buttons are enabled.
does sec_touchkey.kl have any other values specifically for long press event which triggers the search?
bala_gamer said:
afaik the on screen menu button will appear only if the virtual buttons are enabled.
does sec_touchkey.kl have any other values specifically for long press event which triggers the search?
Click to expand...
Click to collapse
No thats wrong. HTC One X and S does not have onscreen button. But applications has menu button inside, and if the application is not ics compatible then menu button appears in nav bar like the screenshot below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That is exactly what I want to do. Replace the menu button with appswitcher, and menu button will be in application, or in nav bar.
Or we could have the best of both worlds, which is the fix HTC used to get rid of that ugly black 3 dot bar on the one x. Just make the menu button the app switcher button and when you press and hold it, the menu pops up. Win win and no annoying black bar.
kantk20111 said:
Or we could have the best of both worlds, which is the fix HTC used to get rid of that ugly black 3 dot bar on the one x. Just make the menu button the app switcher button and when you press and hold it, the menu pops up. Win win and no annoying black bar.
Click to expand...
Click to collapse
I was looking for a way to reduce the necessary holding time of the home button for the app switcher, but this would be even better.
kantk20111 said:
Or we could have the best of both worlds, which is the fix HTC used to get rid of that ugly black 3 dot bar on the one x. Just make the menu button the app switcher button and when you press and hold it, the menu pops up. Win win and no annoying black bar.
Click to expand...
Click to collapse
Trying the same for a while, couldn't get it to work
《tapatalked from galaxy s3》
the CM9 Domination Rom has this feature built in, and I've confirmed it works on my One X. Ive asked the developer how he did it lets hope he spills the beans. it even reenables the action overflow button
http://forum.xda-developers.com/showthread.php?t=1692415
any updates regarding this? would love to do it on my GS3, I barely ever use the menu button but always use the task switcher, would prefer to switch the two
Single tap to show the recent apps feels so much better than long pressing the home button so im with you bro!
To interested developers out there I suggest that instead of an HTC One X style bottom menu bar that shows when the app has menu, Just display a small arrow at the bottom so not to waste space. A small arrow are already applied in some taskmanagers on the market.
Thanks.
I use two options:
- Nova launcher and set long menu press to recent apps instead of google search.
- Download an app called "multitask shortcut" from google play. Its awesome.
With these two I never have to press home button again.
Any other ideas would be appreciated.
I think I found the best solution. There's an app in the market called "Button Saviour" that does the functionlity of the capacitive buttons. The pro version allows you to hide it so you just position the invisible menu at the bottom so you can access any time.
Ok, I've done something similiar.
I flashed AOKP build 40, so I can enable on-screen nav buttons.
I enabled nav buttons, now its like Galaxy Nexus.
Then I disabled capacitive buttons. Here is how I've done it:
Edit /system/usr/keylayout/sec_touchkey.kl file :
key 158 SCROLL_LOCK VIRTUAL
key 139 SCROLL_LOCK VIRTUAL
Click to expand...
Click to collapse
Save it and reboot the device.
(Note: your capacitive buttons will actually toggle the scroll_lock state, but you wont notice anything)
Now your device is easier to use with one-hand Have fun.
-----
PS: I noticed that AOKP rom also has the best battery life ^^
xmRipper said:
Ok, I've done something similiar.
I flashed AOKP build 40, so I can enable on-screen nav buttons.
I enabled nav buttons, now its like Galaxy Nexus.
Then I disabled capacitive buttons. Here is how I've done it:
Edit /system/usr/keylayout/sec_touchkey.kl file :
Save it and reboot the device.
(Note: your capacitive buttons will actually toggle the scroll_lock state, but you wont notice anything)
Now your device is easier to use with one-hand Have fun.
-----
PS: I noticed that AOKP rom also has the best battery life ^^
Click to expand...
Click to collapse
What about remapping the menu button to a camera key? Any idea how to add this to the setup you describe above?
xmRipper said:
Ok, I've done something similiar.
I flashed AOKP build 40, so I can enable on-screen nav buttons.
I enabled nav buttons, now its like Galaxy Nexus.
Then I disabled capacitive buttons. Here is how I've done it:
Edit /system/usr/keylayout/sec_touchkey.kl file :
Save it and reboot the device.
(Note: your capacitive buttons will actually toggle the scroll_lock state, but you wont notice anything)
Now your device is easier to use with one-hand Have fun.
-----
PS: I noticed that AOKP rom also has the best battery life ^^
Click to expand...
Click to collapse
I think if you just delete the two entries it will also disable them. That's how we did it on the ATT GS2(except we had 4 entries for the 4 cap buttons)
I dont have a GS3 yet but I'm already preparing a zip that will disable the cap buttons/lights and the home button so I can strickly use on screen softkeys.
I think it might be this for the home button:
key 172 HOME
that's in the generic file in the same dir but cant be certain until I get the device and test it. I'm going to look at a zip I had for disabling the lights and figure it out on the gs3. I guess the last piece would be disable the home double touch but I'm not sure if you disable home if it also disables the double home click?
graffixnyc said:
I think if you just delete the two entries it will also disable them. That's how we did it on the ATT GS2(except we had 4 entries for the 4 cap buttons)
Click to expand...
Click to collapse
Oh nice and simple solution which might work, I didn't try it ^^
I am also ok with home button, it is not capacitive. So I didn't try to disable it.
But I always mispress the capacitive buttons with my palm, they are too much sensitive.
The number of spaces in the sec_touchkey.kl file is important. If you make the change wrong, the system will just ignore the file and use defaults. If ayone has problem doing it, use the attached file to disable touch keys.
3473 said:
any updates regarding this? would love to do it on my GS3, I barely ever use the menu button but always use the task switcher, would prefer to switch the two
Click to expand...
Click to collapse
Is there a mod that allows us to use the menu button as a button now ?
---------- Post added at 02:13 PM ---------- Previous post was at 01:46 PM ----------
3473 said:
any updates regarding this? would love to do it on my GS3, I barely ever use the menu button but always use the task switcher, would prefer to switch the two
Click to expand...
Click to collapse
Is there a mod that allows us to use the menu button as a button now ?

Android - how to simulate long press of home button

Hi, I'm trying to simulate a long press of the home button in order to launch 'Google now on tap' as my phone (elephone p9000, stock 6.0, rooted) has got rid of the navigation bar in favour of a single capacitive button, which uses the long press function to launch recent apps instead of Google now on tap and I can't find any other way to launch this service. You can bring the navigation bar back but this interferes with other functionality I have set up now. Can anyone please tell me either an app that can run a script to simulate the home key long press or alternatively another way to create a shortcut to launch Google now on tap as right now I'm having to go into settings reactivate the navigation bar, long press home and then deactivate it after. Not exactly streamlined! Thanks for any advice.
Would be great to be able to assign Google now on tap to the fast access Button on the left. I miss it myself and dont want to use one Screen Navigation.
Sent from my P9000 using XDA-Developers mobile app
There's actually 2 very straightforward ways of doing this, one of which is I thought I'd tried but obviously not very well. You can launch the Now on Tap feature by assigning it to a gesture in either LMT pie control or another 3rd party app called All In 1 Gestures. If this isn't clear just ask.
Anybody figured this? What would the shortcut show up as using a third party app. I can see Google but how would you access Google now on tap? Doesn't show up as a shortcut.
Sent from my P9000 using Tapatalk

Question Pixel Gesture to quickly set phone to silent or vibrate mode?

Having owned several OnePlus phones over the years, I have so gotten used to the side slider 'button' to quickly silence the phone.
I am seriously considering buying a Pixel 6 - but just wanted to know from Pixel5 owners etc, is there a way of configuring a gesture that would allow me to configure the alternative to the slide - i.e. would not need to unlock the phone etc in order to mute it and then un-mute it?
I don't mean when a call comes it etc, just when in its idle state and say I just remember in a meeting that it's not on silent...
I have tried to google this - but have not found a definitive answer...
Thanks!
You could use tasker to remap the quick tap
Supercharge the Pixel 6's Quick Tap to Snap feature with Tasker
Supercharge the Pixel 6's new Quick Tap to Snap gesture with Tasker. You can even use it to trigger custom actions based on the orientation of your phone.
www.xda-developers.com
Thanks - will look into that if I cant get used to the volume button+screen tap to mute.
harryw66 said:
Thanks - will look into that if I cant get used to the volume button+screen tap to mute.
Click to expand...
Click to collapse
I was also used to the OnePlus Do Not disturb slider, however, I think google is doing it here much better.
if you go to System >Gestures > and then select Flip to Shhh, this will activate the "Don Not Disturb"
The Explanation of this function says:
"To Turn on Do Not Disturb, place your phone face down on a flat surface. You'll feel a subtle vibration when the Do Not Disturb turns on"
When you then pick up the phone, the Do not Disturb is disabled. i use this all the time and it works quite well for me.
i hope this helps.
Thanks - I did check that feature out.
But it won't work for the kind of situation I often found the slider useful - e.g. the slider would allow me to silence the phone, whilst still in my pocket - if I remember during a meeting or something...
same boat here. i installed an app called "button mapper", and have mapped long press vol+ to change vibration/sound, and long press vol- to turn off screen. force of a habit.
Thanks @tiantianisfox - installed that - helps.
I also noticed that the Vibrate icon has vanished from the Status Bar for Android 12.
I had to install Super Status Bar to get that back for now.
I have send feedback to Google - hopefully if enough people complain, they will add it back later.
Hi,
Just an FYI Update.
I have been trying out a few different apps.
I found that MacroDroid will let me configure the volume buttons to change the individual volume levels for calls, rings, media etc etc.
So, currently, I have set:
Volume up double-tap, to 'Volume Change' with specific volume levels for each item e.g. High Ringer Volume - but low notification volume. etc
Volume Down double-tap to 'Volume Change' with all volumes to zero and Enable Vibration
I will try this out for a few days - otherwise, the next option will be something like Tasker or Macrodroid) + Sound Profile app with the automation subscription.
UPDATE: The Volume Double tap did not work consistently, so I changed it to Volume Long Press - of which there are two variations.
The more useful Long Press has to be enabled via an ADB Hack and works even when the screen is locked.
You then have the option of using MacroDroid functionality to adjust the sound settings based on Up and Down button - including setting the Ringer Volume and Notifications volume independently (somethiing missing from Pixel 6 and many other phones).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
However, I prefer to use the Sound Profile app (+Automation subscription) - to activate the Sound Profile of my choice and it seems to offer better control over the volume levels. e.g. if I set the ringer volume to 100% in a Sound Profile, it is louder than if I set 100% in MacroDroid Sound settings.
In terms of notification/status icon, I prefer to use the Macrodroid Notification Icon rather than the Sound Profile one - as the Macrodroid one is shown on the Lock screen as well.
The Send Intent looks something like (replace the Profile name as required):
Hope this helps!
I should add that you can send Intents to Sound Profile from Tasker and AutomateIt (and possible others) as well.
Button Mapper works very well. Never had an issue with it not working.
Wshankles said:
Button Mapper works very well. Never had an issue with it not working.
Click to expand...
Click to collapse
Sure, but it only seems offers a toggle option for Vibrate - I could not map one button to Normal and the other to Vibrate...
I installed this app/widget for it this morning - works like a charm and is fairly small so it doesn't look too out of place
Nimueh said:
I installed this app/widget for it this morning - works like a charm and is fairly small so it doesn't look too out of place
Click to expand...
Click to collapse
Cool - but that would require me to take the phone out of my pocket and unlock it - before I could change the sound mode.
I was looking for something that would avoid unlocking the phone and avoid interacting with the screen - i.e. just by pressing a button..
harryw66 said:
Cool - but that would require me to take the phone out of my pocket and unlock it - before I could change the sound mode.
I was looking for something that would avoid unlocking the phone and avoid interacting with the screen - i.e. just by pressing a button..
Click to expand...
Click to collapse
Button Mapper can do it, before I found the above widget I used that. Had the Volume Up button long-press set to toggle silent/vibrate and it worked pretty good, so maybe give that a try?
Nimueh said:
Button Mapper can do it, before I found the above widget I used that. Had the Volume Up button long-press set to toggle silent/vibrate and it worked pretty good, so maybe give that a try?
Click to expand...
Click to collapse
Thanks - but as I explained just earlier - button mapper only offers a toggle option - I could not map one button to Normal and the other to Vibrate.. So, I could not be certain when I use button mapper - whether I had set the phone to vibrate or not - without unlocking the phone and checking the sound settings
Isn't power + volume up working? This shortcut was introduced on Android 11 I think. It will quickly turn on vibrate only or just mute (you can change what it does in the settings)
Only issue is that I think it wont turn back to ring, it only goes one way
Papote3 said:
Isn't power + volume up working? This shortcut was introduced on Android 11 I think. It will quickly turn on vibrate only or just mute (you can change what it does in the settings)
Only issue is that I think it wont turn back to ring, it only goes one way
Click to expand...
Click to collapse
Don't seem to work on the P6 - I disabled the Macrodroid before trying it out...
Power + Volume Up brings up a selection window with Emergency, Lockdown, Power Off + Restart buttons.
problem with tasker and button mapper is that the silent/vibrate/ring on pixel is actually do not disturb/vibrate/ring, so it is kinda inconvinient. i now uses "rules" in settings to trigger them.
harryw66 said:
Don't seem to work on the P6 - I disabled the Macrodroid before trying it out...
Power + Volume Up brings up a selection window with Emergency, Lockdown, Power Off + Restart buttons..
Click to expand...
Click to collapse
You can try the quick tap feature and make it to open this app https://play.google.com/store/apps/details?id=muter.muter
This is an extract from this article:
Haven't tried it before but it's worth a try
Papote3 said:
You can try the quick tap feature and make it to open this app https://play.google.com/store/apps/details?id=muter.muter
This is an extract from this article:
Haven't tried it before but it's worth a try
Click to expand...
Click to collapse
Hey - thanks. But I have the tap programmed for something else and I want to be able to switch to vibrate and normal with certainty - not a toggle back and for either.
My solution allows me to do that i.e. one button for normal mode and one for Vibrate mode - so no uncertainty as to what mode it is in.

Categories

Resources