Speech Recognizer on HTC One M7
I have written a speech recognition application using the built-in Android based speech recognition classes. The following exception appears in my developer console when the startListening function is called on the speech recognition object retrieved with the createSpeechRecognizer function (context).
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 it?
Tested on Nexus 7 and HTC ONE X.
Failed to connect HTC ONE M7 (4.2.2)
source to share
Found the root cause of this issue at this link: https://groups.google.com/forum/#!topic/joaomgcd/qcSfL2-SIfk
Decision. Your device must have Google Voicemail enabled.
Steps to enable Google Voice Typing on HTC One: http://eguides.sprint.com/support/eguides/htconem8/index.html#htc_one_m8_ug/keyboard_and_input_methods_google_voice_typing.html
source to share