I'm not 100% sure this is the right forum, if it's not, some mod feel free to re-categorise it.
For a while I've wanted to assign custom actions to the single button on the left of the device, but the most I was able to find is an Xposed script that runs, and then you use the volume keys to pick a few baked in actions (These didn't work for me in the end anyway).
So I thought I'd post my working solution, note that it uses a paid app, I don't get any kickbacks or anything.
I'm using "Xposed Edge Pro". It has a "Keys" option, which you can add new keys too.
You just click the "add key" button, press the AI button on the left and it recognises it!
From there you can assign things for the button (and any other of the buttons) to do, it supports single click, double click, and click-hold.
I've got mine setup to open a 3rd party camera, and through the "Actions", start recording straight away.
There's a magisk module for this, free of charge.
leledumbo said:
There's a magisk module for this, free of charge.
Click to expand...
Click to collapse
Which one? I believe it's the one I refenced already in my post.
https://forum.xda-developers.com/Mi-9/themes/mod-mi-ai-button-remapper-t3918291/amp/
I choose the do nothing option in magisk and then I use tasker to do what I want
swan11jf said:
https://forum.xda-developers.com/Mi-9/themes/mod-mi-ai-button-remapper-t3918291/amp/
I choose the do nothing option in magisk and then I use tasker to do what I want
Click to expand...
Click to collapse
Unfortunately that did not work for me, it's the one I referenced in my original post. I guess it doesn't work on all devices.
Interesting - on pixel experience plus if that helps with future rom decisions...
Related
From the front page, but I don't know how many of us read that...
http://forum.xda-developers.com/showthread.php?t=676438
We don't have a search key programmed on our devices, do we? It says it's programmed to a longpress of the search button.
1. As mentioned above, it uses a long press of the search key. We don't have a search key, and we don't have any more buttons to map to a search key (which is probably the most useless of all keys).
2. I already added support for the "Recent Applications", which supports 6 apps. The Vogues only have 128Mb RAM, and the recent apps are shown in order of last used.....
Suffice to say, by the time I've used 6 apps, I find the Android garbage collector has shut down the oldest one. 15 recent apps would only serve as a fancy shortcut menu.
jnadke said:
1. As mentioned above, it uses a long press of the search key. We don't have a search key, and we don't have any more buttons to map to a search key (which is probably the most useless of all keys).
2. I already added support for the "Recent Applications", which supports 6 apps. The Vogues only have 128Mb RAM, and the recent apps are shown in order of last used.....
Suffice to say, by the time I've used 6 apps, I find the Android garbage collector has shut down the oldest one. 15 recent apps would only serve as a fancy shortcut menu.
Click to expand...
Click to collapse
Eh, I missed the search key thing. And yes, it did just look like a fancy shortcut menu. Just thought people might be interested.
And is there any way possible this could be programmed to a longpress of our camera buttons? I'm guessing not...hoping yes.
drewden123 said:
And is there any way possible this could be programmed to a longpress of our camera buttons? I'm guessing not...hoping yes.
Click to expand...
Click to collapse
There are already 3 functions programmed on that button, so I doubt it.
GeJohnO said:
There are already 3 functions programmed on that button, so I doubt it.
Click to expand...
Click to collapse
I meant instead of the task switcher because this is just an enhanced version.
I recently got hold of an Elephone P9000 which has a Shortcut button that can be used to launch an app, but not a function within an app. I've been playing around with app factory to allow it to do different functions & so far I've been able to set it up as a camera shutter button which is a glaring omission by Elephone as a selectable option.
I'm now looking to try to get it to work for Now On Tap but having issues.
The phone has the option between having the standard navigation bar or using a single multi use capacitive button which I find a great feature but it causes issues if you want to launch now on tap as you can't press & hold the home key.
I've got a task that does keypress 219 & this works on its own to launch now on tap & when I export it as an app it works if you open the app. It does not however work if you assign it to the shortcut key as my camera shutter app did.
I'm still on a steep learning curve with tasker so I thought I'd throw it out to you guys in case I might be missing something obvious.
Sent from my P9000 using XDA-Developers mobile app
Try using xposed additions module
and linking a Tasker task.
Sent from my SM-N920C using Tapatalk
RuggedHunter said:
Try using xposed additions module
and linking a Tasker task.
Click to expand...
Click to collapse
I did wonder if xposed might be the only way. As far has I've seen so far no one has a working solution for xposed on this phone. Time for me to start playing.
As far as apps created in Tasker do they still need the project to exist within Tasker to function correctly or is the intention that they should work as stand alone apps? I wanted to try to make the button multi use depending on certain conditions, so bringing profiles into it. Just don't want to waste a lot of time trying it if it's not going to work.
Hello,
after the sources for the Z2 Pro have been released and good Custom ROMs are possible, I would love to buy this beautiful device. I've read alot about this U-Touch thing, where you navigate only by using the Home Button... and I don't like it. So my question is: Does this phone also have the normal Back, Home and Recents hardware buttons?
Thanks!
Hi,
Yes, you can add on screen buttons in "Developer Options" menu. At least you can do it with z2 (non pro). I guess you will have this option too.
So there are no "real" hardware buttons to the left and the right of the home button?
On screen buttons are in developer options in both models, make sure you reboot to effect the changes.
Thanks for your answers. I know about the possiblity to show the On Screen Buttons, but that's not what I wanted to know.
I'm curious if the device also has dedicated hardware buttons (not on screen) for Back and Recents, or just the U-Touch button?
It only has 1 physical button on the front..
I'd love to see an app or even integration in a custom rom to be able to configure the behaviour of the front button. What are the chances this will become reality?
It already lets you configure what the button does. You can also preset actions to open specific apps.
Karly Johnston said:
It already lets you configure what the button does. You can also preset actions to open specific apps.
Click to expand...
Click to collapse
But that is in the ZUI ROM right? I'd like to see this in a separate app or built into custom ROM so it can also be used outside ZUI.
Now that the sources are available someone who knows what he is doing should be able to pull this off.
Is there a way to make swipe left on the u-touch button act like a back button? Maybe there would be a way to have it open an scripted action that acts as back button?
Edit: Just figured out that short tap is back, so my problem is solved!
Thanks, this helped me out!
I'm looking for a phone with this same exact button. I'm always super stunned how retarded iphones are compared to my $200 phone.
Anyone ever heard of a way to remap the button on the S Pen?
I rarely use the Air menu in fact I actually disabled it in options.
I do however use the pen in my hand probably 95% of the time, I love the precision as well as having the ability to hover over something without clicking it like a mouse can.
My only thought is that it would be amazing to be able to press the button and have it register as a tap at the current location instead of having it pop up in the air menu.
I also would love to be able to modify that SVG Circle that Prince the current pin location on screen to something more visible and possibly add a trail or something. I'm guessing this would require rooting. I am a long time desktop developer but this is my first time really delving into Android and I have noticed so many hidden services and apps that I would love to kill but I can't so it looks like I may have to root anyway.
That prints* sorry I tried to edit the typos but the save wouldn't send. I'm assuming my you block extension here is blocking some script. I've pretty much disabled 90% of the functionality on this phone just to help secure it that's another thing I need to look into browser security.
+1 on remapping the pen button
bober10113 said:
+1 on remapping the pen button
Click to expand...
Click to collapse
Yeah I think there's a lot of potential for some really helpful and amazing functions. First time I used this and noticed it could track on screen without touch I thought that was something very special. And then when I found that it could register a button press while hovering I immediately thought of thousand applications for this.
Just one off the top of my head. Imagine having an actual useful text to clipboard function where you simply hover the cursor over text you wanted and click the button to highlight and let go of button to stop highlighting. It would make copying text on the phone just like using a mouse. I am so sick of having to long press and stay completely still for the damn thing to register. We shouldn't have to do that with this s pen.
I have tried before on rooted note 3 to remap the s pen button but the phone didn't recognize the command... always pop up s pen menu. I think surely you need root before trying or try adb push.
Regards
Conito, I would love to hear more in-depth description of your attempt to remap it.
https://play.google.com/store/apps/details?id=com.gmd.spencontrol
this might be an option if you have rooted your phone.
it doesn't outright remap your button, but does let you execute commands by drawing lines or symbols while holding the button.
I haven't tested it since the note 2 though because I no longer root devices.
I have even wrote to Samsung asking for this. I want to be able to remap it for the eye dropper to when I'm drawing. It's set as the eraser from Samsung so hopefully someone will one day find a way to at least change the default tool (eraser) That might be easier than a whole other app or something.
cricketpaddleinmyhand said:
Conito, I would love to hear more in-depth description of your attempt to remap it.
Click to expand...
Click to collapse
Sorry mate you have to quote, I didn't see your post until now.
I just try to remap with applications like xposed additions and stuff like that. But the app didn't recognize when I pressed the button. So the only thing we can do is get into the app that manage the spen command and edit it with tools or things like that. I remember that some guy in the note 3 forum develop a simple app that can launch that application. So maybe that could be the solution: edit the behavior of the original spencommand app.
My best regards.
before i buy this phone,
is there a way to long press back on the navbar to either screen off or kill app? in unrootrd settings like Oneplus.
i just bought an unrootable G8x and it's terrific but you cannot do this. and that's a damn deal breaker for me. thank you!
VR32 said:
before i buy this phone,
is there a way to long press back on the navbar to either screen off or kill app? in unrootrd settings like Oneplus.
i just bought an unrootable G8x and it's terrific but you cannot do this. and that's a damn deal breaker for me. thank you!
Click to expand...
Click to collapse
You can use Navstar (from Nicelock or Goodlock) to put the 4th button on the navbar like in the picture.
MoshPuiu said:
You can use Navstar (from Nicelock or Goodlock) to put the 4th button on the navbar like in the picture.
Click to expand...
Click to collapse
can't test this on my current phone. in navstar a 4th button allows for long press screen off ? it's the function that's important, i can already add buttons.
VR32 said:
can't test this on my current phone. in navstar a 4th button allows for long press screen off ? it's the function that's important, i can already add buttons.
Click to expand...
Click to collapse
As far as I know, Nicelock app is available on every phone. So follow https://forum.xda-developers.com/galaxy-note-9/themes/app-nicelock-goodlock-2019-launcher-pie-t3908648 to install and use Navstar.
MoshPuiu said:
As far as I know, Nicelock app is available on every phone. So follow https://forum.xda-developers.com/ga...-nicelock-goodlock-2019-launcher-pie-t3908648 to install and use Navstar.
Click to expand...
Click to collapse
thank you. after several hours of effort i can't get any of that to work in any way. just FC's and errors everywhere.
can anybody say that long press to screen off it's available for a non rooted S10? that's all i want to know at this point. because the back button is available from every screen, not just home. i need long press to screen off available everywhere. any ideas?