Voice Actions - Android Software/Hacking General [Developers Only]

Is there a way to activate Voice actions via a prompt? Have it always listening for a spoken phrase before opening Voice Actions?

Prompt
you can activate the desired prompt mode by saying "standby" or "go to sleep" ( after launching the application once, of course) ;]

kaflu said:
you can activate the desired prompt mode by saying "standby" or "go to sleep" ( after launching the application once, of course) ;]
Click to expand...
Click to collapse
Um, what....

Related

MS Voice command with usb earset

I've MS Voice Command and use the included usb earset with my Touch Pro.
How can I use the button on the usb earset with Voice command ?
Now when I push the little button twice the Touch begins to dial the last number.
I want to activate Voice command so that I can control my media without taken my Touch Pro from my pocket.
Nobody ?
What's the normal use of the button on the USB earset anyway ?
Not being funny but you'd be much, much better off with a bluetooth stereo A2DP headset, which has controls for managing your music as well as activating voice commands, and a built-in microphone.
The supplied USB headphones are just ****e anyway.
I highly recommend these:
http://www.foneshop.com/accessories/description/2486
I'm currently trying out Fonix VoiceCentral, seems quite capable as well for voice commands. But I also needed to be able to start it by voice in the first place, so here's what I did:
Usually on any headset or carkit, wired or via Bluetooth, or even on the phone itself, holding down the talk/call/answer button will activate the Voice Dialing.
For the Touch Pro this means that the built-in Voice Dailling application will start, but you want the MS Voice application to be started. As I didn't know how to change the program started by the Long Press Call Key functionality I decided to simply record a voice tag for the VoiceCentral application (you would make one for MS Voice instead). Once VoiceCentral is loaded, it will accept my voice commands from there on in.
So in steps:
press and hold the talk key / button until you hear a beep(ing tone)
a: if a voice tag hadn't already been recorded for MS Voice, you can now record one. To do so:
tap the Settings soft-menu key on the bottom right,
select the Application tab,
select the MS Voice application from the list,
tap the record button and say the text for the voice tag
the voice tag will be played back to you for confirmation (if not press the play button to hear it)
press ok to close the Voice Dailling application and start again from step 1
b: if a voice tag had already been recorded for MS Voice, say it and check if MS Voice is started (the voice tag will be played back to you before carrying out the request)
I hope this helps.
Coromoto said:
I'm currently trying out Fonix VoiceCentral, seems quite capable as well for voice commands. But I also needed to be able to start it by voice in the first place, so here's what I did:
Usually on any headset or carkit, wired or via Bluetooth, or even on the phone itself, holding down the talk/call/answer button will activate the Voice Dialing.
For the Touch Pro this means that the built-in Voice Dailling application will start, but you want the MS Voice application to be started. As I didn't know how to change the program started by the Long Press Call Key functionality I decided to simply record a voice tag for the VoiceCentral application (you would make one for MS Voice instead). Once VoiceCentral is loaded, it will accept my voice commands from there on in.
So in steps:
press and hold the talk key / button until you hear a beep(ing tone)
a: if a voice tag hadn't already been recorded for MS Voice, you can now record one. To do so:
tap the Settings soft-menu key on the bottom right,
select the Application tab,
select the MS Voice application from the list,
tap the record button and say the text for the voice tag
the voice tag will be played back to you for confirmation (if not press the play button to hear it)
press ok to close the Voice Dailling application and start again from step 1
b: if a voice tag had already been recorded for MS Voice, say it and check if MS Voice is started (the voice tag will be played back to you before carrying out the request)
I hope this helps.
Click to expand...
Click to collapse
Seems like a good solution but it's bloated.
Then I have to have two voice command software packages installed on my Touch Pro.
I don't want that.
I just want to press and hold the key on the wired earset so that MS Voice Command is activated.
Not being funny but you'd be much, much better off with a bluetooth stereo A2DP headset, which has controls for managing your music as well as activating voice commands, and a built-in microphone.
The supplied USB headphones are just ****e anyway.
Click to expand...
Click to collapse
I just want to use the included USB earset because you need it as an antenna for the FM radio.
Vanstra said:
Seems like a good solution but it's bloated.
Then I have to have two voice command software packages installed on my Touch Pro.
I don't want that.
I just want to press and hold the key on the wired earset so that MS Voice Command is activated.
Click to expand...
Click to collapse
In that case you have to find a solution to remap the long press call key to another application.
I actually find my solution takes a little bit longer, but works perfectly. And best of all it's something I can easily implement without any registry editing or installing other apps.
Sometimes the solutions are smiling you in the face but you just can't see them...
Go to Settings -> Personal tab -> Buttons -> Program Buttons tab. There you will find the entry responsible for starting the Voice Speed Dial application. Change it to MS Voice Command and try to use the long hold press of the USB headset Talk button.
Hope this helps!
Coromoto said:
Change it to MS Voice Command and try to use the long hold press of the USB headset Talk button.
Click to expand...
Click to collapse
That's the problem.
There's just one button available namely the 'Call' button.
So no USB headset Talk button can be selected.
Vanstra said:
That's the problem.
There's just one button available namely the 'Call' button.
So no USB headset Talk button can be selected.
Click to expand...
Click to collapse
Try changing the following value in HKLM\Software\OEM\VoiceCommand:
Name: Path
Data: \WINDOWS\sddialer.exe (this is the default by the way, should you want to restore it)
to the path and executable for MS Voice Command. Do NOT surround the path with " " if the path has a space in it (eg. \Program Files\MS\VoiceCommand) as that will not work.
Now it should work with your USB headset talk button as well, since you've modified the application associated with VoiceCommand itself, and not just the Call button assignment.
Let us know how this works for you.
Coromoto said:
Try changing the following value in HKLM\Software\OEM\VoiceCommand:
Name: Path
Data: \WINDOWS\sddialer.exe (this is the default by the way, should you want to restore it)
Click to expand...
Click to collapse
The key 'Path' is not in my registry on my Touch Pro.
Should I add it myself ?
But still this has nothing todo with assigning the headset button to 'voicecmd.exe'
Or am I wrong ?
Vanstra said:
Coromoto said:
Try changing the following value in HKLM\Software\OEM\VoiceCommand:
Name: Path
Data: \WINDOWS\sddialer.exe (this is the default by the way, should you want to restore it)
Click to expand...
Click to collapse
The key 'Path' is not in my registry on my Touch Pro.
Should I add it myself ?
But still this has nothing todo with assigning the headset button to 'voicecmd.exe'
Or am I wrong ?
Click to expand...
Click to collapse
'Path' is not a key but a value under the path ending in VoiceCommand. Do you have the key HKLM\Software\OEM\VoiceCommand? If so, what are the values in it?
This has everything to do with the headset button, as it is how the OS defines what to do when the VoiceCommand command is issued, be it by the Call button on the phone itself, the talk button on a Bluetooth headset (which I have successfully tested this with), or the talk button on your USB headset.
Coromoto said:
'Path' is not a key but a value under the path ending in VoiceCommand. Do you have the key HKLM\Software\OEM\VoiceCommand? If so, what are the values in it?
Click to expand...
Click to collapse
I have the HKLM\Software\OEM\VoiceCommand key which only contains the following values:
- LaunchAPEnable
- VoiceCmdDuration
- VoiceCmdEnable
Try adding the Path value as a String, with the value as noted above.
You're right.
Now it works.
Dank je
so now you have voice command in the usb headset? if so this should go on the tweaks list and or the wiki
y2whisper said:
so now you have voice command in the usb headset? if so this should go on the tweaks list and or the wiki
Click to expand...
Click to collapse
Yes,
Adding this registry value enabled Voice Command with the usb headset.
y2whisper said:
so now you have voice command in the usb headset? if so this should go on the tweaks list and or the wiki
Click to expand...
Click to collapse
Done! I hope others will find it usefull.
How do I get MS Voice command?
Mr.Sir said:
How do I get MS Voice command?
Click to expand...
Click to collapse
Just buy it...
The registry setting works on my Touch Pro.... if i hold the button on the headset for a few moments - very cool!

Tip - Captivate Search key

When in the browser, you can use the quick search key in 2 ways:
1. Tap it once and it becomes a URL search - doing autocomplete via google for the uRL you want
2. Tap it a second time and it becomes the Quick Search Box that searches your local stuff and google
The only odd behavior is going from the URL search to the Quick Search the keyboard stays on the URL keyboard so you have to hit the 123 key to get your space bar.
HTH
alphadog00 said:
When in the browser, you can use the quick search key in 2 ways:
1. Tap it once and it becomes a URL search - doing autocomplete via google for the uRL you want
2. Tap it a second time and it becomes the Quick Search Box that searches your local stuff and google
The only odd behavior is going from the URL search to the Quick Search the keyboard stays on the URL keyboard so you have to hit the 123 key to get your space bar.
HTH
Click to expand...
Click to collapse
.... and, if you HOLD the search button, you can do voice recognition for searching and some other functions -- i.e., "call jane doe" or "email john smith", things like that. Quite cool! Not sure of all the possibilities there yet.
jsmith8858 said:
.... and, if you HOLD the search button, you can do voice recognition for searching and some other functions -- i.e., "call jane doe" or "email john smith", things like that. Quite cool! Not sure of all the possibilities there yet.
Click to expand...
Click to collapse
That doesn't work for me. Do I need to install something to enable it to accept commands? Like Voice Commander? In fact, the only thing the search button will search is the web.... whether I type it or speak it. I've enabled the search phone settings in settings/search menu. Something's screwy with my phone.
dc41 said:
That doesn't work for me. Do I need to install something to enable it to accept commands? Like Voice Commander? In fact, the only thing the search button will search is the web.... whether I type it or speak it. I've enabled the search phone settings in settings/search menu. Something's screwy with my phone.
Click to expand...
Click to collapse
When you hold the search button down, the little "Speak Now" pop-up doesn't even appear? Or, is it there but nothing seems to work?
UPDATE: Also, it seems that only "call ..." works, I can't get "email" or "text" to work -- but then again, since you really need the keyboard for those functions, maybe that's why?
jsmith8858 said:
When you hold the search button down, the little "Speak Now" pop-up doesn't even appear? Or, is it there but nothing seems to work?
UPDATE: Also, it seems that only "call ..." works, I can't get "email" or "text" to work -- but then again, since you really need the keyboard for those functions, maybe that's why?
Click to expand...
Click to collapse
It pops up, but the only search results are from the web. It doesn't look for anything on my phone, and it never accepts commands like "call Bob."
jsmith8858 said:
When you hold the search button down, the little "Speak Now" pop-up doesn't even appear? Or, is it there but nothing seems to work?
UPDATE: Also, it seems that only "call ..." works, I can't get "email" or "text" to work -- but then again, since you really need the keyboard for those functions, maybe that's why?
Click to expand...
Click to collapse
I could not get "call (name)" to work. I tried adding the name to my Gmail contacts, but it still doesn't work. Like dc41, it dumps me to Google's web search. Any tips for this?
I also found out that you can say "dial (1-800-xxx-xxxx)" in Android, but I couldn't get that to work either.
"navigate to (place)" and "map of (place)" works for me though.
CALL (NAME)
Okay, I think I understand now...
For "call (name)" to work, you'll need to login to your Gmail account via your computer's browser, click Contacts, then Add.
If it's already in "All Contacts," but not "My Contacts," you'll need to use the "Move To My Contacts" button. I think this was my problem - anything I added in Android's phonebook didn't get moved into My Contacts in Gmail.com.
Some things are not shown in Android's browser when viewing Gmail, so do use your computer.
That's basically it.

Wake up command is not working

Anybody know why I can not get the wake up command to work?
I tried Google voice commands, work fine 100% of the time, but on the lock screen try the wake up command.... and nothing happens.
The mic should be working see it on the top right?
Think it may have something to do with S-Voice? but I can find no S-Voice settings or App.
Try double tapping the HOME button, then going into the menu and then settings.
Was going to say, done a few Google searches before I found S-Voice turns on when you double click the home button
Then I found the the reason the voice command did not work is the command is "Hi Galaxy", really this is not as stupid as it sounds the lock screen says swipe to up lock or say "Wake-Up" command..... so I am shouting at the stupid thing "WAKE UP", the command is "Hi Galaxy" like I should know.

How to get rid of volume warning?

I have a bluetooth speaker that I use on occasion. I have tasker set up so that when I connect the speaker it automatically loads pandora on my phone, waits a few seconds, then sets media volume to max (15). However, it doesn't seem to be able to set the volume up high enough and I think it's because of the volume limit and the warning. Is there any workaround for this without rooting right now?
I am having the same issue and am also looking for a way to get rid of the high volume warning message.
Thanks!
You can use autoinput. It is a tasker plugin. You can set it to hit ok when the warning message comes up, then repeat the max volume when the message is gone.
dschachm said:
You can use autoinput. It is a tasker plugin. You can set it to hit ok when the warning message comes up, then repeat the max volume when the message is gone.
Click to expand...
Click to collapse
Thanks for the tip. Definitely going to check it out.
dschachm said:
You can use autoinput. It is a tasker plugin. You can set it to hit ok when the warning message comes up, then repeat the max volume when the message is gone.
Click to expand...
Click to collapse
I've installed it and tried to get autoinput going, but I can't figure out exactly which options to put. I see it as an option in tasker as a plugin, but then I have to choose between action, global action, modes, root, screen capture, UI query or unlock screen. I've tried some different combinations, mostly with action, but can't seem to figure it out. Any specifics would be appreciated.
You want to go to auto input action. Then select configure.
You want to select click for action
Text for field type
The I think field text would be "ok" so that is the field that is clicked when the box comes up.
dschachm said:
You want to go to auto input action. Then select configure.
You want to select click for action
Text for field type
The I think field text would be "ok" so that is the field that is clicked when the box comes up.
Click to expand...
Click to collapse
Thanks for the help. I finally got this to work. I tried it your way and it didn't seem to work, but, after messing with it (for a log longer than I'd like to admit), I hit the easy setup button at the top, then after swiping away a couple of windows I was able to press volume up until the volume warning came up and I hit "OK". When I went back into tasker it asked me if I wanted to choose the field coordinates or the text field "OK". I just chose OK and the rest was just setting up timings.
If anyone is curious how I got it set up I've attached a screenshot of the tasker screen. Unfortunately it doesn't show anything about the OK screen since that was done through the easy setup.

Question [Resolved, I think...] Turning "Hey Google" Function On

I've been using the "Hey Google" function for a couple of weeks but now I notice that the function no longer works. I must have inadvertently turned it off somehow. How can I turn it back on?
If you can still use the assistant when long pressing the power button, ask it to "open assistant settings". A new menu should open, tap on "Hey Google & Voice Match", then, tap on "Hey Google" to enable.
Now some guide may pop up, follow it, now it should be working.
Here's what I did to enable "Hey Google...".
Tap the little microphone (the Assistant) and say “Hey Google open assistant settings”. "POPULAR SETTINGS" should appear, with "Hey Google & Voice Match at the top of the list.
Tap “Hey Google & Voice Match”. “Hey Google & Voice Match” should appear. If “This device” is underlined and in blue, then "Hey Google..." is already enabled. If not, then tap the button to the right of “Hey Google”. It should turn blue. “Activate Voice Match to use ‘Hey Google’” appears.
NOTE: You can at this time retrain the Assistant to recognize your voice by tapping “Voice model”. Otherwise, tap the Back button at the bottom of the screen, then tap “I agree”. The message “Hey Google” is ready” should appear.
Tap the Back button. "POPULAR SETTINGS" should reappear. "Hey Google..." will have a circle with a checkmark inside to tell you that it is enabled.
Tap the Back button again. Now "Hey Google" will respond when you tap the microphone button.
To disable “Hey Google”, repeat Steps 1 and 2, tap the “Hey Google” button until it turns white, then tap “OK”. "Hey Google..." is now disabled.

Categories

Resources