Can I assign apps to physical buttons? - Galaxy S II Q&A, Help & Troubleshooting

For example, to the menu button, i want to assign Screen filter app. When I press and hold the menu button, Screen Filter will start working.
I'm using Resurrection Remix 4.4.2 rom. These are similar settings but it isn't allowing to set an app. Is there any way to do it?

In CM12.1 official, I at least can set buttons open camera or search assistant or previous app. Unluckily you can't select a random app.

Related

[Q] Question: touchkey shortcuts

I've searched everywhere, but didn't find a solution for the following:
when you hold the bottom left hardware touchkey you'll get a popup browser with google search.
And if you hold the center key a window appears with recent programs.
Is there a way too change these shortcuts into something of my own choice?
My s2 is rooted, so maybe there is an app that will do the trick?
Like you, I'd love to remap the menu key to home and home key to menu. We use the home key much more often than menu and it's harder to press a physical key. However, I haven't found such a mod yet.
Remapping keys
I am looking for a way to remap long press of back key (i.e. hold down right key) to something else. Haven't found anything yet.
Now I am using SwipeSwitcher - I configured top left swipe to run Quicker, top right swipe to run a task switcher (I am using PreHome), bottom right swipe to run recent apps (I couldn't find an app to run ICS recent apps, I installed Nova Launcher and assigned the swipe action to its recent apps shortcut).

[Xposed]XButton – remap phone keys – built for Gnote – works on Gs4

This is not my creation. I am just reporting that an Xposed module developed for Galaxy Note works on my Galaxy S4
Here is the module
http://forum.xda-developers.com/showthread.php?t=2490029:
I installed it on my S4 and successfully remapped the following key-strokes to lauch specific apps:
long-press home
long-press menu
long-press back
double-tap menu (a small glitch – it launches the custom app but also pulls up the menu of whatever or launcher is open at the time I double tap)
I realize there are loads of gesture launchers to get to things quickly, but some of these key remappings could be valuable to me also. In particular sometimes I find myself outside in bright sunlight with auto brightness disabled and can’t even see my phone to get brightness adjusted. Now I have mapped long-press menu to launch a Tasker-created app that turns brightness to max (and turns off autobrightness so I am guaranteed the phone will stay on max brightness after I press this button).
I also have Wanam installed. It didn't seem to work in changing button behavior. It does demand a setting for long-press home. I wondered if there might be a conflict. In Wanam I set long-press home to do “nothing” and in Xbutton I set a custom app… it followed the Xbutton instructions just fine.
There are some other features available also, but I haven’t tried them.
Sometimes the Xbutton App itself crashes when I am adjusting the settings of it. But it hasn’t caused any problems once it is set up.
Some people complained in the linked thread that after defining a button behavior (in particular long-press home), they couldn't set it back to default behavior. I think I saw that with long-press also. But I actually don't use the built-in behavior of long-press home myself (I have created a swype-pad action to pull up recent apps)
Thanks to the author of linked thread ( xperiacle ) who extracted this functional from Gravity Box and adapted it to work on Galaxy Note (and also GS4)

Other ways to access Now on Tap

I removed on screen buttons on marshmallow and used Pie pro as my on screen buttons that activate via holding the edge of the screen to access custom buttons.
I know you can assign the Google app as a custom button to access Google now. Is there a way to access now on tap because holding down wont work with Pie unless you assign an app to it BUT now on tap is not an app it's a feature of an app.
Any other way to access now on tap without having the on screen buttons?

How to open in app menu?

Hi all. It may seem a silly question and probably it is but there are apps (in this case Touchdown mail client) that haven't an icon to open the in app settings menu. With my previous phones I used a physical button, usually long press on the back button, to open it. But how to do it with the single button p9000? Thank you.
Very good question, they seem to have forgotten about apps that need a physical key for menu, have you tried enabling the softkeys to see if the menu button appears on them for you? Can the "Smart Button" not be setup to be the menu key? or is it only to open apps? I not played with it myself..
Still searching how to have the MENU inside applications, softkeys does not work !
I would ask the software maker! The phone maker won't add more physical buttons.
And multiple press are always software driven!
Even if the phone maker did, that won't help you out with the old hardware...
Doesn't seem to be an answer anywhere online so here goes:
Go to settings > Navigation bar > Turn On.
Go to app you need a menu on > swipe up from bottom to bring up the Nav bar.
Three dots appear on the end of the nav bar. Done.
If the three dots don't appear; click on the recent tasks button and then go back into the app and they should come up.
Tried and tested with EZ Drop.
- Doesn't seem to work with apps with the built in "three dots" menu.
I use ‘Menu Button (No root)’ by JetToast free on the Play store, to get round this problem.
https://play.google.com/store/apps/details?id=jettoast.menubutton

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

Categories

Resources