RAZR Voice Commands on search button short press to Google search voice prompt - Motorola Droid RAZR

Been looking for a solution to this for a while, since my answer wasn't exactly posted anywhere I thought I could help others , this can literally save your life if driving !! Google search still parses commands much better than vendor apps("text bill hey I'll get at u later") ..:good: works too if you want to launch apps from search key, short press only.... would suggest trying MENU instead of VOICE, but try them both if you want.
HOW TO REMAP SEARCH KEY TO GOOGLE SEARCH DIRECT VOICE PROMPT
This worked for me on stock Android 4.1.2 rooted, remember backup before you edit:
1. Root
2. Edit /system/usr/keylayout/cy8c201xx.kl
3. Change from
key 217 SEARCH WAKE_DROPPED VIRTUAL
To
key 217 VOICE WAKE_DROPPED VIRTUAL
4. Save and reboot
Does spaz a bit on long press, but short press it will FINALLY let you choose an app.....and don't be fooled, choosing Google doesnt bring up the general Google Search with all the cards and crap, its just a voice prompt directly to the new Google voice search...exactly what i needed. Again only short press works but it's awesome having the nice, accurate voice commands back from 4.0 and older Android released on RAZR when long press search key worked. May take a few selections and selecting "always" a couple times, then reboot for it to hold.

It works....make it easy...I didnt use the search bar anyway....:good:

works nice on my droid 4, but removes any long-press google now functionality. thanks for this

Related

[Q] Button remapping? Turn off Voice Command?

Is there any way to remap the four bottom buttons on the Photon to different functions? In particular, I'd like to get rid of the way the long-press search button triggers voice command. (So if I can't remap the button, can I at least turn off voice command?)
Thanks in advance for any help!
Well -- not an answer yet, but I did figure out that you can freeze "Voice Command" and "Voice Search" via Titanium Backup, which will at least keep the prompt from popping up. Better than nothing, I guess.
Either download another app that utilizes the long press on search (like vlingo) to give you the menu of apps the next time you long press OR Menu - Settings - Applications - Manage Applications - tap on Voice Search - Clear defaults (or Clear Data) .
Do you mean that Vlingo always maps the search button long-press to an app menu, or just to set a default action? I did find that freezing voice command and voice search through Titanium Backup at least stopped the voice prompts from triggering...add benefit that it worked for Swype too.
The presence of any another voice-controlled app, like vlingo, makes the menu pop up.

[Q] Long-press home,search key and back

Hellou,
i spend much time with remaping hw buttons but still without succesfully. I try everything what i know and what i found here. In es209ra_keypad.kl are just normal buttons (non long-press). For search key may be there a key 217 but it isn´t there and when i added nothing happened. Search key is for me priority, becasue i want use it for CALL (exactly for Call log). In CM this works.I tried menu long press and it works for another app, but I can´t find there app Call log and why ? I don´t know...Search key long-press isn´t work for any apps...so have somebody idea how can I do that? Just touch for long search key and execute Call log no search and for short normal menu.
any idea??? developers please help

[Q] Remapping video or camera button?

I don't even have my Amaze yet, but one of the things I know I'm interested in is remapping the dedicated video button. I know I'll probably love the dedicated camera button, but I doubt I'll use the video button- mapping the button to either an app to it or a more useful function would be nice.
That said, has anyone decided to change the button functions and if so what did you use? What function did you give it?
I found a thread here that sounds like it could work except it makes a big deal out of needing "for full rooted devices. (NAND unlocked. Full, permanent write access to the system dir is needed)" and the functions it can provide don't seem all that helpful..
I did a fair amount of searching and couldn't find a better app, I'm not sure if the root the amaze has would be considered "full root", or if anyone here has really played with this.
check out Tasker from the market. It's basically a simple programming environment.
Think of it as writing a IF-THEN statements..
IF this THEN that....
IF i press the X button THEN open program y
If I press the Z button THEN send my girlfriend a text message with body of 'i just clicked my record button and it sent you a text message'
IF its 4o'clock on tuesday and i clicked the camera button then open angry birds
etc
etc
etc
jo093142 said:
check out Tasker from the market. It's basically a simple programming environment.
Think of it as writing a IF-THEN statements..
IF this THEN that....
IF i press the X button THEN open program y
If I press the Z button THEN send my girlfriend a text message with body of 'i just clicked my record button and it sent you a text message'
IF its 4o'clock on tuesday and i clicked the camera button then open angry birds
etc
etc
etc
Click to expand...
Click to collapse
Haha, you know, that really does seem like the simplest answer. I tried tasker but was a little frustrated that you had to manually follow steps to re-create the same function someone else has gotten, and there was nothing I wanted my phone to do I felt like was worth that kind of time investment.. but simple tasks like this it totally makes sense!(And just curious, did I miss something, and there was a way to copy someone's script/code into tasker rather than input it manually?)
Thanks for the idea, I'm definitely going to give it a try!
Edit: And I just noticed that you only have two posts, welcome to XDA! If by your second post you've already helped a semi-veteran, you're definitely going to be a great addition to the community
Silentbtdeadly said:
Haha, you know, that really does seem like the simplest answer. I tried tasker but was a little frustrated that you had to manually follow steps to re-create the same function someone else has gotten, and there was nothing I wanted my phone to do I felt like was worth that kind of time investment.. but simple tasks like this it totally makes sense!(And just curious, did I miss something, and there was a way to copy someone's script/code into tasker rather than input it manually?)
Thanks for the idea, I'm definitely going to give it a try!
Edit: And I just noticed that you only have two posts, welcome to XDA! If by your second post you've already helped a semi-veteran, you're definitely going to be a great addition to the community
Click to expand...
Click to collapse
been looking for the same thing, however I could find a camcorder button in Tasker, only the camera button.
bummer
mikeschevelle said:
been looking for the same thing, however I could find a camcorder button in Tasker, only the camera button.
bummer
Click to expand...
Click to collapse
I don't have the phone yet or I would already be playing with this, but I imagine you could remap the button to a key that tasker does support.
Of course back up the original file, then use adb(or even root explorer for such a small text edit) to pull/push adb pull /system/usr/keylayout/ruby-keypad.kl
You should see:
Code:
key 116 POWER WAKE_DROPPED
key 114 VOLUME_DOWN WAKE
key 115 VOLUME_UP WAKE
key 102 HOME
key 139 MENU
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
# CAMCORDER
key 248 [B]CAMCORDER[/B] WAKE
# CAMERA
key 211 FOCUS
key 212 CAMERA WAKE
Change just the bolded part above that says CAMCORDER to something our phone doesn't have that tasker recognizes(I don't know what options it has, something like "DPAD_CENTER" might work)
At least that is the first thing I was going to try.
Silentbtdeadly said:
I don't have the phone yet or I would already be playing with this, but I imagine you could remap the button to a key that tasker does support.
Of course back up the original file, then use adb(or even root explorer for such a small text edit) to pull/push adb pull /system/usr/keylayout/ruby-keypad.kl
You should see:
Code:
key 116 POWER WAKE_DROPPED
key 114 VOLUME_DOWN WAKE
key 115 VOLUME_UP WAKE
key 102 HOME
key 139 MENU
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
# CAMCORDER
key 248 [B]CAMCORDER[/B] WAKE
# CAMERA
key 211 FOCUS
key 212 CAMERA WAKE
Change just the bolded part above that says CAMCORDER to something our phone doesn't have that tasker recognizes(I don't know what options it has, something like "DPAD_CENTER" might work)
At least that is the first thing I was going to try.
Click to expand...
Click to collapse
.......appreciate it......over my head though

Anyway to Replace S-Voice with Google Voice Search

I've had the S3 for a few days now and I prefer Google Voice Search to S-Voice. Is there anyway to replace the home button double press with GVS rather than S-Voice? If not is there a way to create a shortcut to automatically launch GVS? On my HTC Evo 4G there was a search button that would launch GVS if I pressed and held it. There doesn't seem to be that option for the S3. If I hold the menu button to the left of the home button then Google Search does come up but then I have to press the microphone to launch GVS. Is there a way to go directly to voice search?
Especially hope there is a way to launch GVS faster when jellybean is released. The videos seem to show the search is so much better than S-Voice.
Hold down the menu button.
Sent from my SGH-T999 using xda premium
Holding down the menu takes me to search screen and then I can choose voice search by clicking on the microphone. I guess I'm looking for a way to go to voice search in one step like I could on my Evo.
I would also really like to figure out how to do this! Nobody has figured it out yet.
Ideally, double click on home would directly open the Google Voice search.
rdwing said:
I would also really like to figure out how to do this! Nobody has figured it out yet.
Ideally, double click on home would directly open the Google Voice search.
Click to expand...
Click to collapse
This.
And also when using a Bluetooth headset, would like that to open voice search.
Sent from my iPad using Tapatalk HD
Flash Cyanogenmod???
Seriously not the best solution but the only one I can think of of hand.
Sent from my GT-I9300 using Tapatalk 2
Quickshortcutmaker works pretty good
I had the same problem. I used Quickshortcutmaker by sika524 ( available from the Play store) to make a shortcut to "voicesearch.....RecognitionActivity" . I then moved the shortcut to the Icon tray at the bottom of the home screen. That makes it 1 press and you are there. Unfortunately, that shorcut can't be added to the lockscreen, but still beats S-voice. I found this hint somewheres when I was wrestling with the same issue on a Evo LTE.
I discovered this method of replacing S-voice with Google Voice Search on another forum - credit to sorka of phandroid (not sure of proper protocol here - whether I should link to an external forum or provide the details here - feel free to let me know)
Anyway, this will allow replacing s-voice with google voice search
1) Install "Bluetooth Launch" from the play store.
2) Open Bluetooth Launch and select "Voice Search".
3) Expand it out and select "Recognition Activity"
4) Exit.
5) Double click the home button - or initiate call from bluetooth device
6) Choice of s-voice or Bluetooth Launch will be given
7) Select "Always complete using this activity" (optional)
8) Select Bluetooth Launch (for Google Voice Search)
Now whenever you double tap the home button (or activate from bluetooth device), Google Voice Search will run.
I didn't choose "Always complete using this activity" in order to test the two side by side. I ran into these problems:
1) if I hit "cancel" from inside of Google Voice Search, future pressing of the activate button on the bluetooth device (my car) didn't execute the program on the phone - I had to run s-voice to reactivate the prompt for some reason. Perhaps if I had chosen "Always complete..." it would have worked.
2) Google Voice Search didn't appear to use the car mic, just the phone mic. It appears s-voice is using the car mic. This is a challenge to verify, (covering up mics, etc.). I would like to hear other experiences.
In the end I went back to S-voice as it performed as well as Google Voice Search (neither great), but nice having the option to switch if I am frustrated with s-voice in the future.
this (Step 3) works great with JB leak
http://forum.xda-developers.com/showthread.php?t=1823194
One way is to disable S Voice, but then you can't use S Voice anymore anywhere (until you enable it again).
Disable it in Settings -> Applications manager -> S Voice -> disable
Don't know if this has any affects to other apps (it warns you about it), but it works for me and haven't got FC's
With smackhome on play store you can choose which app you want to open with search button
Sent from my GT-I9100 using Tapatalk 2
Nova Launcher u can set it by long pressing the menu touch key or appoint it by using a swype gesture.
sent from my quad turbo 1.6L GT-i9300
swift2fly said:
Nova Launcher u can set it by long pressing the menu touch key or appoint it by using a swype gesture.
sent from my quad turbo 1.6L GT-i9300
Click to expand...
Click to collapse
That's exactly what I do. Using Nova Launcher, I have it set so that while at the Home screen, if I single-press the Home key, S-Voice comes up. If I double-press the Home key, Google Voice Search comes up.
This method allows me to have the best of both worlds because, arguably, S-Voice is better at controlling phone activities (e.g. "turn off Wi-Fi" or "text John Doe") whereas Google Voice Search is better at web searches (e.g. "What is the capitol of South Dakota?").
Similarly, in Settings > Language/Input, I have "Google" set as the Voice Recognizer. Question is...when I use S-Voice, is it properly using Google's servers for voice recognition, or is it going back to Vlingo (thus overriding the Language/Input settings)?

Long Press Home Button for Google Now Search

Im really loving the new goolge now search feature. I use it for lots lof things like texts, directions, timers, alarms and the sort. I was wondering if anyone was able to make the default long press of the home button linked to the search function. I was even hoping to have this available from a locked device, not password protected of course.
It most be a difficult mod since I've tried a lot of the roms, even those with hardware button options, and non are able to do it.
I'm not sure if you are using any rom like Stock ROM, but if you use any custom ROM based on Cyanogenmod ROM, then this should work.
Goto--> Settings-->Cyanogenmod Settings--> Hardware Keys --> Home button (Long press) ---> change the option to Search Assistant.
This Search Assistant, by default connects to Google Now (Its getting connected to Google Now in my device).
Regards,
Hereticnine.

Categories

Resources