Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root
Droid - All Things Root Rooting, ROMS, Overclocking, etc.

test: Reply
 
LinkBack Thread Tools
Old June 18th, 2010, 02:28 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 35
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default Switch Voice Dialer With Voice Search

Is there anyway to switch the Voice Dialer application with the Voice Search application?

I want to be able to activate Voice Search with a bluetooth headset, instead of Voice Dialer (so I can use navigation, google search, and all that jazz...handsfree).

Advertisements
dougiesgoindeep is offline  
Last edited by dougiesgoindeep; June 18th, 2010 at 02:48 PM. Reason: because I felt like it.
Reply With Quote
sponsored links
Old June 18th, 2010, 09:40 PM   #2 (permalink)
Senior Member
 
inssane's Avatar
 
Join Date: Dec 2009
Location: Chi-Town
Posts: 1,850
 
Device(s): ...and Boom goes the Dynamite
Carrier: Not Provided

Thanks: 180
Thanked 156 Times in 81 Posts
Default

Hmm
I would like to know this too. I would say at this point the answer is no.
I am not sure how Froyo activates an application via the bluetooth and it would be nice to get the voice search instead since the voice dial is as crappy over BT as it was over the handset and it calls wrong numbers without double checking or confirming the number with me.
__________________
SHOT CALLER
RIP 2K1 Caddy STS - Hello 2K11 Chevy Cruze...25mpg vs 8mpg. WOOT
I am a MasterDebator
"Eat Me" on Yelp--also make sure to QuagMyTwitr
SoCo "Whatever's Comfortable" Guy - LIKE HIM!
inssane is offline  
Reply With Quote
Old June 18th, 2010, 10:36 PM   #3 (permalink)
Senior Member
 
Redflea's Avatar
 
Join Date: Oct 2009
Posts: 2,623
 
Device(s): Droid2, Rooted Tweaked Stock
Carrier: Not Provided

Thanks: 33
Thanked 295 Times in 143 Posts
Default

Hmmm...i've had good luck w/the voice BT dialing in Froyo, been very accurate for me. Maybe my voice just happens to be generic enough to work well w/it.
Redflea is offline  
Reply With Quote
Old June 18th, 2010, 11:26 PM   #4 (permalink)
Premium Member
 
Join Date: Jun 2010
Location: Chicago
Posts: 183
 
Device(s): Too many to list
Carrier: Not Provided

Thanks: 1
Thanked 130 Times in 56 Posts
Default

Interesting idea.

It looks like VoiceDialer can receive a android.intent.action.VOICE_COMMAND and VoiceSearch cannot. But it should be a simple manner of making an app that can receive VOICE_COMMAND and then just sends a standard MAIN intent to VoiceSearch.

Trying...

[edit]Not so simple, as VoiceSearch won't read from the bluetooth device...

It's easy to get the Bluetooth 2-second button push, you just need:
Code:
<intent-filter>
<action android:name="android.intent.action.VOICE_COMMAND"/>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
And it's easy to start the Voice Search activity:
Code:
Intent intent = new Intent();
intent.setComponent(new
    ComponentName("com.google.android.voicesearch",
                  "com.google.android.voicesearch.RecognitionActivity"));
startActivity(intent);
But the VoiceSearch, and even the general Recognition APIs don't support reading from bluetooth or a wav file or anything but the microphone on the phone itself. The way VoiceDialer works is it has it's own recognition engine that compares what you said against your contacts.
[/edit]
kevin@teslacoilsw is offline  
Last edited by kevin@teslacoilsw; June 19th, 2010 at 12:07 AM.
Reply With Quote
The Following User Says Thank You to kevin@teslacoilsw For This Useful Post:
teddyearp (January 27th, 2011)
Old June 19th, 2010, 01:57 PM   #5 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 35
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Kevin, most of what you said is over my head, but I think the conclusion was it does not work because the Voice Search feature cannot use the BT mic?

If that is the case, is there anyway to just activate Voice Search on the phone (instead of Voice Dialer) and use the phone's mic? Something simple like switching the application names and tricking the phone into activating one over the other? For my specific situation, the phone is on my car's dash, so the phone's mic could pickup my speech (the BT mic is not necessary, although would be much more convenient for other situations).
dougiesgoindeep is offline  
Reply With Quote
Old June 20th, 2010, 07:35 AM   #6 (permalink)
Premium Member
 
Join Date: Jun 2010
Location: Chicago
Posts: 183
 
Device(s): Too many to list
Carrier: Not Provided

Thanks: 1
Thanked 130 Times in 56 Posts
Default

Quote:
Originally Posted by dougiesgoindeep View Post
If that is the case, is there anyway to just activate Voice Search on the phone (instead of Voice Dialer) and use the phone's mic?
Sure! Initially you'll get the "Complete action using" dialog, then you can set BluetoothVoiceSearch as the default action.

Again, note, this does NOT use the bluetooth's microphone.

APK: http://teslacoilsw.com/android_misc/BluetoothVoiceSearch.apk
Source: http://teslacoilsw.com/android_misc/BluetoothVoiceSearch_src.zip

I'm not going to post it to the market since it uses the wrong microphone, but if someone else wants to they can. The code is released under the public domain, do whatever you want with it.
kevin@teslacoilsw is offline  
Reply With Quote
The Following 3 Users Say Thank You to kevin@teslacoilsw For This Useful Post:
ericks17 (August 21st, 2010), imfm (October 3rd, 2011), Whiteblazer01 (November 5th, 2011)
Old June 20th, 2010, 07:43 AM   #7 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 35
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks!

I will try this out a little later. This only uses the phone's mic for the voice search, right? It still uses the BT mic for the phone call?
dougiesgoindeep is offline  
Reply With Quote
Old June 20th, 2010, 07:49 AM   #8 (permalink)
Premium Member
 
Join Date: Jun 2010
Location: Chicago
Posts: 183
 
Device(s): Too many to list
Carrier: Not Provided

Thanks: 1
Thanked 130 Times in 56 Posts
Default

Quote:
Originally Posted by dougiesgoindeep View Post
Thanks!

I will try this out a little later. This only uses the phone's mic for the voice search, right? It still uses the BT mic for the phone call?
Yeah it shouldn't effect anything aside from the bluetooth trigger to open voice dial. Calls should be normal.
kevin@teslacoilsw is offline  
Reply With Quote
Old June 20th, 2010, 08:12 AM   #9 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 35
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by kevin@teslacoilsw View Post
Yeah it shouldn't effect anything aside from the bluetooth trigger to open voice dial. Calls should be normal.

It works!

Thanks again.
dougiesgoindeep is offline  
Reply With Quote
Old August 20th, 2010, 01:39 PM   #10 (permalink)
Junior Member
 
Join Date: Jun 2010
Posts: 29
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 2 Times in 2 Posts
Default

If you're interested in this, I posted a link to vote on this at google. Someone has requested this feature, and with enough votes, maybe it can happen.

http://androidforums.com/htc-evo-4g/154480-use-new-voice-search-instead-voice-dialer-over-bluetooth.html
wvufan is offline  
Reply With Quote
sponsored links
Old August 20th, 2010, 05:33 PM   #11 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the code. It works. Also voted for your issue. (Fingers crossed.)

BTW, why do you think Android would reincarnate it's excellent voice recognition software (aka "Voice Search") into a Frankenstein'ish body like "Bluetooth Voice Dialer"? I can't believe the difference between the accuracy of the two programs!

Also, upon further testing, realized that Bluetooth Voice Dialer DOES have the sophistication to work even when the phone's screen is off and the device is locked behind the security pattern screen, which is pretty nice and *truly* "hands free." (I'm sure there's a more technical way of describing the phone's state, but those are my lay terms.) Of course you probably wouldn't be interested in beefing up your simple code to do all that would you?
Dave Kobliska is offline  
Last edited by Dave Kobliska; August 20th, 2010 at 05:47 PM.
Reply With Quote
Old August 22nd, 2010, 06:56 PM   #12 (permalink)
New Member
 
Join Date: Jun 2010
Posts: 2
 
Device(s): EVO 4G
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 1 Post
Question Issues with 2.2 on EVO

For some reason i cant get the apk to run at all, it installed properly but doesnt activate. so it continues to use voice dialer not voice search, im running android 2.2 on the EVO 4G. any suggestions friends?
powerbird101 is offline  
Reply With Quote
Old January 27th, 2011, 11:19 AM   #13 (permalink)
Junior Member
 
Join Date: Nov 2010
Posts: 33
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've tested two apps that use the BT mic.

Super BT Froyo. Basically, all audio from the phone goes to your headset and all sound from your headset goes to your phone. Goes back to normal on phone calls. Have to turn it off before turning off headset or phone resets.

Ear Buddy also sends voice and audio via BT mono but only sends music when music is playing, not all the time, and allows you to initiate google voice search by pressing the bluetooth button on your headset!

Haven't tested Ear Buddy fully yet, but there's an update that fixed a major phone reset problem it was having.

Both $3
tjennhw is offline  
Reply With Quote
Old January 28th, 2011, 08:03 AM   #14 (permalink)
Senior Member
 
inssane's Avatar
 
Join Date: Dec 2009
Location: Chi-Town
Posts: 1,850
 
Device(s): ...and Boom goes the Dynamite
Carrier: Not Provided

Thanks: 180
Thanked 156 Times in 81 Posts
Default

Vlingo InCar has made me not care anymore

Good suggestions though!
inssane is offline  
Reply With Quote
Old January 28th, 2011, 04:31 PM   #15 (permalink)
Junior Member
 
Join Date: Nov 2010
Posts: 33
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Vlingo Incar won't send sounds to BT. Ear Buddy is ideal for Motorcycles.
tjennhw is offline  
Reply With Quote
Old October 3rd, 2011, 09:04 PM   #16 (permalink)
Member
 
imfm's Avatar
 
Join Date: Sep 2011
Location: Texas
Posts: 154
 
Device(s): LG855 Marquee Boost/Bloodwan CTMOD/Bloodawn HyperKernel/ndno Overclock Kernel/imfm 3D boost
Carrier: Not Provided

Thanks: 49
Thanked 84 Times in 32 Posts
Default Nice workaround

Quote:
Originally Posted by kevin@teslacoilsw View Post
Sure! Initially you'll get the "Complete action using" dialog, then you can set BluetoothVoiceSearch as the default action.

Again, note, this does NOT use the bluetooth's microphone.

APK: http://teslacoilsw.com/android_misc/BluetoothVoiceSearch.apk
Source: http://teslacoilsw.com/android_misc/BluetoothVoiceSearch_src.zip

I'm not going to post it to the market since it uses the wrong microphone, but if someone else wants to they can. The code is released under the public domain, do whatever you want with it.
Thanks for coding and posting this! Google should be paying you.
imfm is offline  
Reply With Quote
Old November 5th, 2011, 05:21 PM   #17 (permalink)
Junior Member
 
Whiteblazer01's Avatar
 
Join Date: Jun 2010
Location: Southern California
Posts: 15
 
Device(s): Samsung Droid Charge
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by kevin@teslacoilsw View Post
Sure! Initially you'll get the "Complete action using" dialog, then you can set BluetoothVoiceSearch as the default action.

Again, note, this does NOT use the bluetooth's microphone.

APK: http://teslacoilsw.com/android_misc/BluetoothVoiceSearch.apk
Source: http://teslacoilsw.com/android_misc/BluetoothVoiceSearch_src.zip

I'm not going to post it to the market since it uses the wrong microphone, but if someone else wants to they can. The code is released under the public domain, do whatever you want with it.

Thank you, works great!!
Whiteblazer01 is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:04 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.