startVoiceRecognition与蓝牙耳机不工作 [英] startVoiceRecognition with bluetooth headset is not working

查看:1413
本文介绍了startVoiceRecognition与蓝牙耳机不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用蓝牙耳机的语音识别,几乎像S3,S4和三星大一些设备工作正常。但是,当我试图在Nexus 7一样,我正在

I need to use bluetooth headset with voice recognition, which almost works fine in some devices like S3, S4 and Samsung Grand. However, when I tried same on Nexus 7, I am getting

BluetoothHeadsetServiceJni : Failed to start voice recognition, status: 6

错误,当我打电话 startVoiceRecognition()方法。我现在用的是code从这个 SO页面

error when I am calling startVoiceRecognition() method. I am using the code from this SO page.

可能是什么原因,这个问题只出现在某些设备?请问有什么办法可以解决这个问题呢?

What are the possible reasons for this issue occur only in some devices? Is there any way to solve this issue?

推荐答案

我一直支票纳拉扬提到的,我发现BluetoothHeadset.STATE_AUDIO_CONNECTED不火承上启下7,以及一些其他的中兴通讯设备,可能这是manufature故障或该设备不支持通话,并且您尝试通过call_mode沟通,我觉得这是唯一的解决办法来解决这个问题。

I have been check as Narayan mentioned, I found BluetoothHeadset.STATE_AUDIO_CONNECTED does fire in nexus 7 as well some other ZTE devices, may be this is manufature fault or a that device does not support call and you are try to communicate via call_mode, I think there is only workaround to solve this issue

这篇关于startVoiceRecognition与蓝牙耳机不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆