-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anyone had success hooking up the demo with BlueTooth mic? #197
Comments
I did this with reflection just before calling SpeechService.startListening()
An AudioDeviceInfo comes from
|
Thanks @Repkap11 - I'll try this out. Do you have a fuller "gist" available for above? |
In my case I was using a USB mic. The code is from another project I work on and specifically targets a unique piece of hardware. |
This is great, thanks a LOT @Repkap11 |
thank you for the snippet! I tried connecting a generic bluetooth headset, it's recognized by the AudioManager and is set correctly as preferred device, but when I speak no words are received by the onPartialResult an onResult methods. As soon as I disable the bluetooth it works again. Any ideas? |
From what I've read, Android restricts bluetooth mic usage to a few of their own apps. |
fwiw: I ended up using a modified solution inspired by code @Repkap11 shared, seems to work, |
Based on this link, it seems default mic on the android device will be used. Has anyone tried using BT mic connected to android device? Any ideas/pointers/forks?
The text was updated successfully, but these errors were encountered: