android - 如何在 android- "Recognizer not present"中实现语音识别器?

标签 android voice-recognition

我没有在我的安卓手机上安装谷歌语音搜索。我无法安装它,因为它仅适用于美国。但 vilingo 应用程序在我的安卓手机上运行良好。在我自己的语音识别应用程序中,它显示“识别器不存在”。

这是我在 android 开发者网站上使用的代码。

    List<ResolveInfo> activities = pm.queryIntentActivities(
            intent, pm.MATCH_DEFAULT_ONLY);
    if (activities.size() == 0)
    {
        speakButton.setEnabled(false);
        speakButton.setText("Recognizer not present");
    }

为什么它从上面的代码返回空列表?

非常感谢。

最佳答案

I think Update Your Devise Os , 


later try this link 


http://tutorials-android.blogspot.com/2011/10/android-basics-19-string-array-and.html

关于android - 如何在 android- "Recognizer not present"中实现语音识别器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8381424/

相关文章:

android - 实时和离线语音识别?

c++ - Ubuntu中如何通过语音命令生成键盘、鼠标事件

java - 如何将linux命令从一个设备发送到通过usb otg连接的另一台设备?

android - Android上的小尺寸语音识别寻找关键词

android - 如何使用python为android制作语音命令程序?

android - 如何更改 ListView 中的分隔线颜色?

Android SpeechRecognizer 录音错误

java - 这个 NullPointerException 的来源是什么

java - 在 Libgdx (Android) 的相机 View 之外时, Sprite 是否会自动不被绘制

android - 转换 Lat Long 以解决 Google Maps ApiV2