如何在android-“识别器不存在”中实现语音识别器?

时间:2011-12-05 05:41:54

标签: android voice-recognition

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

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

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

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

非常感谢。

2 个答案:

答案 0 :(得分:0)

I think Update Your Devise Os , 


later try this link 


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

答案 1 :(得分:0)

我下载了语音搜索并安装了它。 :)现在它正在运作