How to implement a voice recognizer in android- “Recognizer not present”?
-
28-10-2019 - |
Question
I have not installed Google voice search in my android phone. I can not install it because it only available for US. But vilingo app woks well on my android phone. In my own voice recognition app it says "Recognizer not present".
this is the code i'm using from the android developer site.
List<ResolveInfo> activities = pm.queryIntentActivities(
intent, pm.MATCH_DEFAULT_ONLY);
if (activities.size() == 0)
{
speakButton.setEnabled(false);
speakButton.setText("Recognizer not present");
}
why it returns empty list from above code?
Thanks a lot.
Solution 2
i downloaded voice search and installed it. :) now it is working
OTHER TIPS
I think Update Your Devise Os ,
later try this link
http://tutorials-android.blogspot.com/2011/10/android-basics-19-string-array-and.html
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow