[Q] Remap power key to launch CRT shutdown app - Vibrant Q&A, Help & Troubleshooting

Need help remapping power key. Someone made awesome app called screen off & lock that does crt shutdown. It would be epic if we could remap power key to launch app.

whoa awesome i just downloaded it. the power button remapping would be awesome, but the long press search button isn't half bad. that's what i'm doing now.

ravigodhwani said:
but the long press search button isn't half bad. that's what i'm doing now.
Click to expand...
Click to collapse
I use voice search all the time. I would think the coding couldn't be to hard but I don't know where to look. It would be awesome if anybody could get this to work.

yeah i'm sure a lot of people use the search button, for some reason i never really need it.
with the camera hack that allows photos to be taken with the power button, and while watching videos, the power button locks the screen while keeping it on, so i know there's gotta be a way to get it to launch this activity. i just don't have any experience with this kind of stuff.
edit -
saw an app called galaxy tuner that apparently remaps buttons, but i am unable to mess with my phone while at work. give it a shot maybe?

Related

Swap Capacitive Search Button With Multitask

Sort of just been pondering about how useless the capacitive search button is to me (and probably a lot of other people) and how I'm a little envious of the physical home button on the International Note, then I came across an article about how a HTC rom dev had switched their capacitive multitask button to perform the function: menu due to app incompatibility. Now I didn't know capacitive buttons could have their function switched but it kind of had me flirting with the idea of how insanely epic a menu/home/back/multitask capacitive layout would be on Ice Cream Sandwich. I wouldn't be jealous of the International Note's physical home button at all if that were the case. I thought this was a little day dream of mine worth sharing. From what I've read it's just a file in system/usr that needs to be edited, I took a quick look but haven't quite figured out which it is yet.
What about you guys, do you like the capacitive search function or would you like to see it something else?
inb4: yo dawg u can just hold down home
multitask with long-press for search would work for me. maybe there is something in the play store than can do this
The galaxy tab has a button remapping app. I used mine to screen off.
rangercaptain said:
The galaxy tab has a button remapping app. I used mine to screen off.
Click to expand...
Click to collapse
Can I get a link to test?
sam.jh said:
Can I get a link to test?
Click to expand...
Click to collapse
Here is the link:
http://forum.xda-developers.com/showthread.php?t=865526
I just tried it and it doesn't work.
Sent from my SAMSUNG-SGH-I717 using xda premium
I love the search button, especially since it's app-aware for context. I see your inb4, but can you explain why reassigning the search button is better than just holding down home? Is it just a second of time you're trying to recover?
I have my long pressed search button mapped to an app called "AltTabApps" which gives me a longer list of recent/installed apps. Long pressing the home button only gives you 6 recent used apps, which sometimes isn't enough.
I think the button does enough multitasking. Short press to search, then long press to voice search or voice talk"hi galaxy" control... I like the voice search because you don't have to access the s voice controls. You could just simply long press search then select voice search and say text blank, "come over after 3" and it will do it... So having there separate functions under one button works for me great.
Sent from my SAMSUNG-SGH-I717 using XDA
I wanted to do this for a while now and finally I got around to it. Basically all I did was to replace search key 217 in system/usr/keylayout/generic.kl to APP_SWITCH. Rebooted and now I have search key remapped to recent apps.
BlackZenith said:
I have my long pressed search button mapped to an app called "AltTabApps" which gives me a longer list of recent/installed apps. Long pressing the home button only gives you 6 recent used apps, which sometimes isn't enough.
Click to expand...
Click to collapse
Mine is showing 13 recent apps right now. Have seen more than that before.
I use the search button extensively. Wouldn't want to change it.
Edit: just saw how old that post was.
Sent from my SAMSUNG-SGH-I717 using xda premium
Id love to switch the search button for S voice, and set long press to nothing. Then just tap the search button and it opens s voice.
dacho said:
I wanted to do this for a while now and finally I got around to it. Basically all I did was to replace search key 217 in system/usr/keylayout/generic.kl to APP_SWITCH. Rebooted and now I have search key remapped to recent apps.
Click to expand...
Click to collapse
Worked perfectly, thanks!!
If you have the Google Now apk installed, the search button launches it.

[Q] onscreen navigation buttons

Anyone manage to enable the on screen navigation button on s3 yet? tried the old method to set the enable navigation button value in the framework-res.apk like what we did on s2 but it didn't work.
trying to get the navigation button for my wife as the home button is not very comfortable to press and we are worry about the durability of the home button. besides, it would be a lot more convenient to have the recent app button for multitasking. holding the home button to bring up the recent task takes too much time.
Appreciate if anyone can help. thanks.
If you got root try this great application: https://play.google.com/store/apps/details?id=net.hoopajoo.android.SoftKeys&hl=en
SkillfulMmd said:
If you got root try this great application: https://play.google.com/store/apps/details?id=net.hoopajoo.android.SoftKeys&hl=en
Click to expand...
Click to collapse
Hi thanks for the information, it helps. we will be using the app now until someone figures out how to enable the navigation buttons. the only downside with the app now is that it doesn't have a recent task button as well, but at least the home button is there.

Remaping buttons to create a dedicated camera button?

Any thoughts on whether it's possible to implement a dedicated camera button? It seems superfluous to have both the home button and the power button able to wake the screen, and it'd be great to have one be able to unlock to camera.
That wud be cool like assign pressing both volume up and volume down at the same time as the button
Sent from my GT-I9100 using xda app-developers app
Yes, this would be great. don't let the thread die.
tekhna said:
Any thoughts on whether it's possible to implement a dedicated camera button? It seems superfluous to have both the home button and the power button able to wake the screen, and it'd be great to have one be able to unlock to camera.
Click to expand...
Click to collapse
I think in theory that would be great, but what button would you replace?
The home and power buttons both have functionality that the other doesn't do. Both can unlock the screen (as you pointed out), but they don't both lock the screen. Also, only one of them actually performs the "home button" functions. So both are really needed.
I think matrixzone5's suggestion of a two-button action would probably be required.
Someone's already implemented on screen ICS buttons on the SGSIII, so for me ideally I'd have the power button as the camera button and the home button as the wake/lock button. Works for me because my case makes the power button hard to press.

[Q] On-Screen Power Button (Power button Not Responsive)

Hey Guys,
My power button has become kinda un-responsive and I guess my i9100 is out of warranty already. At first I thought it was the ROM and I flashed another rom only to realise it's the same thing.
Does anyone know a on-screen power button app or such?
I saw http://forum.xda-developers.com/showthread.php?t=2151326 but it is an app, i would have to exit my current app, open another app and select power off, it's kinda lengthy .
I was wondering if there was an app like assistive touch of iOS (http://4.bp.blogspot.com/-UsO76BmQCJ4/Tu58i5wshhI/AAAAAAAAAF0/LnjJJR_lChw/s1600/photo+1+%282%29.PNG) which is able to add actions like power off (the ones in store seem unable to do that).
Thanks guys
Edit: Found a app that is somewhat similar to assisted touch, it creates a sidebar (like multi-window is LSJ) with all the options, I guess I'm gonna stick to that for now but would love to see if anyone has any other solution/suggestion. The app I am using is: https://play.google.com/store/apps/details?id=com.droid.assitant
If you shut down your device via on screen wiget, will you be able to power it back up?
I suggest just getting the phone fixed.
Sent from my digital submersible hovercraft.
That's something I didn't think of, the power button works if i press it a few times so for now it's alright. I guess when I return back to my home town would fix it there then.

Remap power button?

I haven't been able to figure out a way to remap the physical power button. There was an xposed module that worked great long ago, but hasn't been updated to work with oreo. I want to be able to press/long press/double tap/whatever the power key to take me to the home screen. I've used the fingerprint sensor apps, but they're hit or miss at different times, which is more frustrating than not having it. The other button mapper programs seem to work for volume keys only. Rooted/Running LOS ROM
Remapping the power button seems like such a bad idea to me. What happens if you need to reboot?
nola mike said:
I want to be able to press/long press/double tap/whatever the power key to take me to the home screen.
Click to expand...
Click to collapse
Why? What does your "home" button do? On my Nova launcher, home button takes me immediately to home screen and much easier/faster than trying to double tap fingerprint sensor, which currently turns off/on display.
Or long tapping, which currently gives you reboot options.
Remapping power button seems like an answer in search of a problem, which would cause more problems?
ChazzMatt said:
Why? What does your "home" button do? On my Nova launcher, home button takes me immediately to home screen and much easier/faster than trying to double tap fingerprint sensor, which currently turns off/on display.
Or long tapping, which currently gives you reboot options.
Remapping power button seems like an answer in search of a problem, which would cause more problems.
Click to expand...
Click to collapse
Home button takes me to home screen as well, which is usually where I want to go. If I'm holding the phone it's much easier to press a physical button to get back. I rarely reboot, so could do away with that. On my G3, I had all the buttons on the back mapped to pull up assistant, go back, go to home screen using single/double/short/long taps. It was MUCH faster to do that. Anyway, I like it, it existed before, I want to know if I can get it back.
nola mike said:
Home button takes me to home screen as well, which is usually where I want to go. If I'm holding the phone it's much easier to press a physical button to get back. I rarely reboot, so could do away with that. On my G3, I had all the buttons on the back mapped to pull up assistant, go back, go to home screen using single/double/short/long taps. It was MUCH faster to do that. Anyway, I like it, it existed before, I want to know if I can get it back.
Click to expand...
Click to collapse
So found a program called "powy". It can intercept the power button keypress and then trigger tasker. It can't distinguish long v. short press, but you can program power button to trigger by pressing 1x/2x/3x/etc. Not as good as xposed additions (which hasn't been updated since MM), but functional and better than nothing.

Categories

Resources