Hi,
For the IOT project i have a webserver which is flashed on a micro-controller nodemcu chip. I have screen designed in MIt app2 to voice activate certain switches. The process goes:
1) Set android device to connect to local hosted Webserver over wifi.
2) Click button to speak the command .
3) The command is passed to a Text label.
4) This command is converted to "Get" request for the local webserver. ( using WEB component)
5) The webserver accepts the request , performs some actions and sends the response as an HTML plain text.
6) The HTML response is format to plain text and then sent for Text to Voice conversion.
In this case if i connect to my webserver and give any command by click the button , the speech recognizer does not seem to capture it , but if i switch off my webserver and give the command , the speech recognizer recognizes it and passes it to the text label and it goes ahead with the remainder of the process. ( in this case since the webserver is off it will throw an error, which is understood)
But am not sure as to why the speech recognizer fails to work when its connected to the local webserver. it works fine if not connected or if connected to the internet.
rgds
naveen