How to check wether Speech Recognition is Available or not?
android, speech-recognition
Solution
The problem IS real, so don't downvote before knowing. I solved it myself. The ultimate solution is to verify programmatically, that Google Search app is INSTALLED and ENABLED. If not, the best practice is to use intents to take the user to the Play Store for download/update, or to the App Info screen within settings to enable it. I did it, and it worked, if you need the code just let me know.
Problem
When I am initializing a Speech recognition app, I use this line of code: ``` Boolean b=SpeechRecognizer.isRecognitionAvailable(cContext); ``` Why does b always equals false on some devices (the emulator for example)? I understand what the function does from its description on Android documentation, but the documentation does not say what to do to make voice recognition available. Do I have to setup something else on my emulator? Do you know how to make Speech recognition always available?