简体   繁体   中英

Android offline speech recognition without a pop up dialog

I have followed this stackoverflow post and created an activity. Now on click of a button I start speech recognition but it returns with error "ERROR_SERVER" as soon as I click on the button, It simply does not listen. It does not make any difference if I am connected to internet or not.

I have researched a lot but there is no proper documentation about the error codes nor any approach to resolve these errors. Hope someone can help me out here!

I was able to figure out the issue on my own, so thanks but no thanks to the person down voting.

Note for people struggling with a similar issue, it is device dependent; may occur some devices or may not on others. Please check the device voice input is set to Google or Basic Google recognition and not Enhanced Google Services. This seems to create issues on some devices.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM