Java.lang.SecurityException: not allowed to bind to the Intent service (HTC voice dictation)

People,

I wrote a speech recognition application using Android's built-in speech recognition classes. From time to time, the following exception appears on my developer console when the startListening function is called on a speech recognition object obtained using the createSpeechRecognizer function (context).

java.lang.SecurityException: Not allowed to bind to service Intent {     act=android.speech.RecognitionService cmp=com.htc.android.voicedictation/.VoiceDictationService }

I don't have an HTC device ... so any ideas why this is happening and how to fix it?

+4
source share

Source: https://habr.com/ru/post/1545017/


All Articles