使用蓝牙耳机进行语音识别

时间:2013-12-19 23:24:28

标签: android bluetooth headset

我有一个使用语音识别和tts的应用程序。我想通过蓝牙耳机使用这个应用程序。我使用了这个问题的代码:Using the Android RecognizerIntent with a bluetooth headset

不幸的是,它对我来说既不适合录音也不适合演奏。我在startBluetooth11方法中添加了:

mAudioManager.setMode(AudioManager.MODE_IN_CALL);

这使录音工作。但仍然无法让麦克风工作。

0 个答案:

没有答案
相关问题