I wrote a speech recognition app using android's built-in speech recognition classes. The following exception shows up in my developer console when the startListening function is called on the speech recognizer object obtained using createSpeechRecognizer(context) function.
SecurityException:
java.lang.SecurityException: Not allowed to bind to service Intent
{ act=android.speech.RecognitionService
cmp=com.htc.android.voicedictation/.VoiceDictationService
}
Any ideas why this is happening and how to fix this?
Tested working on Nexus 7 & HTC ONE X.
Failed on HTC ONE M7 (4.2.2)