I'm using SpeechRecognizer to convert voice to text, but I encounter a problem that SpeechRecognizer keeps getting Error_Network (like 80 percent possiblilty). Does anyone encounter this kind of problem.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Have A look on this and this.
And Android Already Define this SpeechRecognizer. You Got this error because You are use some other network. Try to use google Default netowrk using setting.
May it helps...
回答2:
Are you using the internet while using the speech recognizer? If so , stop all other app (including making phonecalls) using the internet. If for some reason you cannot do that try working in offline mode, this means that the speech to text will be done locally on the device, thus not needing a network.
Use the following link to set it up:
Offline Speech Recognition In Android (JellyBean)