[Q] Is there a way to mod the "Back" button? - T-Mobile, Samsung Galaxy SIII

Coming from a samsung Vibrant on t-mobile, i'm SO used to having a "search" key and a (long press) "voice command" key. I use voice commands at least 15 times a day. I know with these phones, you can long press "menu" and the search key will come up. but is there a way mod the long press "back" button where the "search" pops up?
or if not that, even replace the menu long press "search" function and put in the "voice command" function
and i'm not talking about s voice. i'm looking for regular google voice command.

Lieu10ant said:
Coming from a samsung Vibrant on t-mobile, i'm SO used to having a "search" key and a (long press) "voice command" key. I use voice commands at least 15 times a day. I know with these phones, you can long press "menu" and the search key will come up. but is there a way mod the long press "back" button where the "search" pops up?
or if not that, even replace the menu long press "search" function and put in the "voice command" function
and i'm not talking about s voice. i'm looking for regular google voice command.
Click to expand...
Click to collapse
You have to be rooted and use custom ROM. See if you find files under /system/usr/keylayout/ and edit them as text files usig Root Explorer - make a backup though!

bump

Press and hold menu... There's your search key
sent from my GALAXY SIII

manny05 said:
Press and hold menu... There's your search key
sent from my GALAXY SIII
Click to expand...
Click to collapse
i think you missed this part of my post:
"or if not that, even replace the menu long press "search" function and put in the "voice command" function"

I would also like to find a way to remap the buttons but so far i haven't had any luck with the remapper apps, and im not feeling brave enough to start messing with the system/usr/keylayout stuff. If you use a replacement launcher like apex or nova you could set a gesture or double tap to bring up the voice search function, or create a shortcut with bettercut or anycut apps and put it on the homescreen. I know its not what you want but maybe it could hold you over untill there is a solution.

Bump

Related

[Q] Voice Search from genius button (CM7)

I'm not able to set the action for long press of the genius button to voice search.
I'm using CM7 nightly 25. Voice search is installed and works when run through the launcher, but when I long press the genius button I get 3 options for which app to handle the action: Dialer One, Hancent Quick Compose and Messaging - Voice search is not listed.
Anyone have any ideas?
Thanks!
I'd say go with this,
http://forum.xda-developers.com/showthread.php?t=934748&highlight=genius
you don't have to use the Genius Button if you don't want to. Then just use Button Shortcut to set the Genius Button long press to Voice Search.
Or... Just get Button Shortcut.
It's funny cause when I long press I get the option for Voice Search... It just doesn't work, however.
I'll check out button shortcut. Thanks!

(opinion) back, home, search key assignment

don't know you guys, but imho,
back should just be back.
multitasking should use long press home (instead of long press back)
and voice search should use long press search (instead of long press home)
reason for this is (in my case) search is kinda under-utilized and back gets used all the time. i'd rather leave back key to back function alone.
what's your thought on this?
edit: oh, i'd also rather have back key to go back within the same app and not to desktop or some other app.
I agree with the long press on the search button for tellme search. But back button is a better choice for multitasking menu because your finger is going to drift there to switch back an app.
Btw don't call it the home button... Its the start button =)
hardcoreplur said:
I agree with the long press on the search button for tellme search. But back button is a better choice for multitasking menu because your finger is going to drift there to switch back an app.
Click to expand...
Click to collapse
my rationale is to separate in-app navigation (use back) and between-app navigation (use home).
right now there's no indication of where you are in the "back queue". e.g. you don't know that you are already backed to root navigation inside an app and another back would bring you outside the app. coupled with lag in certain apps, it can be very frustrating.
I think I like things the way they are. I use the search button (hardware) a ton.

[Q] Strange HW-Keyboard behavior

Hi,
im using the i927 with OsiMood-Rom.
Today its the second time, that my hardware keyboard behaves a bit strange:
- When I press "e" the Email App opens
- When I press "b" the browser opens
First time I got it "repaired" with a reboot, for now a re-open of the keyboard helped.
What is going on there?
That is not a weird behaviour but a feature. It's called "Quick Launch" and is started by pressing and holding the search button on hw keyboard plus any key in the hw keyboard. the "E" key is the default for email (press "Search" + "E" = Email), you can modify this in settings > applications > quick launch
Thanks, I mentioned that it's something like this but I didn't know what other button activates the shortcut or where to disable it
Roeni said:
Thanks, I mentioned that it's something like this but I didn't know what other button activates the shortcut or where to disable it
Click to expand...
Click to collapse
Like me, you might be using the "Search" button (either soft/hardware keys) to launch apps a lot.....most of the time, I end up pressing search plus the first character of an app i want to launch that results in pressing the two keys almost at the same time. That is how I accidentally discovered it....
I was like searching the "Email app" then I accidentally pressed the "E" key while the "Search" key is pressed then I went "How did this thing know that I want to launch Email?"
Press your search key again on your keyboard it is stuck. Happened to me once or twice. Quick launch is launching your short cuts that are programmed because it thinks you are hitting a 2 key combination. (Search and E)

Playing with Root and Keymapping

I was thinking since we have root and we have a Hardware Keyboard it would be nice to actually have a Hardware button for the Camera.
So I started Searching around on how to do it. I found an application that claimed to be able to do it called "buttonremapper". Unfortunately this program only sees the Menu and back button. 2 buttons I do not wish to remap.
I did find a program called Keynrtracker on XDA that allows me to see the ID's of every button pressed including the Hardware buttons.
I researched a little more and found where the Key mapping files are located:
"system/usr/keylayout"
In here, there are many files that have to do with the keyboard. I found the one to modify is the:
"STMPE_keypad.kl"
this file has all the keys and I simply wanted to change the Search button from the keypad to bring up the Camera so I did this:
key 217 CAMERA WAKE_DROPPED
where previously 217 was:
key 217 SEARCH WAKE_DROPPED
"Wake dropped" is to tell the button to wake up if asleep or not.
Make sure you backup before have root and save. Reboot to load changes.
Well it now works I have a Hardware Camera button. One thing I noticed is I have to Hard press the button and hold not just click. Anyone know why? Added benefit is once the camera app is open, it also takes pictures by pressing on that same button.
JB
nice ^__^
It sounds like you re-mapped long press search, which normally goes to google search, which is why you may have to hold it down longer. Does a short press bring up the normal search menu?
Nardholio said:
It sounds like you re-mapped long press search, which normally goes to google search, which is why you may have to hold it down longer. Does a short press bring up the normal search menu?
Click to expand...
Click to collapse
Short press on its own does nothing. Pressing it with any other key does a normal search.
dudejb said:
I was thinking since we have root and we have a Hardware Keyboard it would be nice to actually have a Hardware button for the Camera.
JB
Click to expand...
Click to collapse
I'm assuming, you want to have it set as a 1 key touch operation instead of setting it up in quick launch configuration like Search + C.
pics can be taken using the OK button by default.
clockwork58 said:
I'm assuming, you want to have it set as a 1 key touch operation instead of setting it up in quick launch configuration like Search + C.
pics can be taken using the OK button by default.
Click to expand...
Click to collapse
Agreed 1 touch I also like the ability of knowing I can change any key on the keyboard like that useless "www.com"button.
Sent from my SAMSUNG-SGH-I927R using xda app-developers app

hardware button long press remapping

messing around with the (how to enable soft touch keys) mod I found how to remap the hardware buttons to my liking... I was able to remap the home button to search and back, but I've found that whatever happens 1 line of code makes the button's 3 functions go with it... when I made it search pressing it brought up search, long pressing it brought up voice search and double pressing did nothing. I even tried making the menu button into home and all it's functions came with it, double pressing the menu button brought up s voice and long pressing it brought the task manager.
I guess my question is this: since the code tells a button what it's called where are the functions of these names stored? I can change the home key "key 172" to "SEARCH" but I haven't been able to find which file figures out what to do when a button labeled "SEARCH" is pressed, double pressed, or held...
I know s voice knows how to edit this file since it has control over double trapping home. and android system knows how to edit it too since every android "including our phone" asks to select a default action when long pressing a "SEARCH" button
my ultimate goal is reconfiguring a button to bring up Google now (which I love) without undoing the original button function (say making double tap home or long pressing menu bring up Google now). I'm also sure others would benefit from knowing how to do this kind of stuff namely people who want a camera button or a search button
any help would be appreciated
Sent from my SPH-L900 using xda app-developers app

Categories

Resources