Handling RecognitionListener Errors

前端 未结 4 1255
旧时难觅i
旧时难觅i 2021-01-03 03:29

I am using the Android\'s speech API to continuously getting input from the user. However this doesn\'t work quite well when errors occur.

What I do is restarting th

4条回答
  •  醉酒成梦
    2021-01-03 04:20

    Try to properly clean up after the error, e.g. call cancel or destroy on the SpeechRecognizer.

提交回复
热议问题