Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid Speech Recognition as a service on Android 4.1 & 4.2
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. COOn my Nexus S with android 4.1.1, the speech recognizer does not die but behaves differently than other phones with version 4.0. With 4.0 after a few second (say 5s), I got error no speech input. With 4.1.1 about at least 3 times longer than 4.0 (15s), I got error other network related errors. Thus if a user speak after say 5s, then the speech recognizer would not pick it up because it still processes the "no input error". In conclusion, in version 4.1.1 the "no speech input" is treated as "other network related errors" and it takes a lot longer for the server to return this error.
      singulars
    2. COThere isn't a problem with 4.0 as up until the point when the onError() method is called, the speech recogniser is still active and I can simply 'restart' the voice recognition - allowing continuous recognition. I am aware of what happens on 4.1.1, but waiting for onError() to be called doesn't help me provide continuous recognition as there is a long delay between when the speech recogniser becomes inactive and waiting for onError() to be called. (Almost a minute in some cases!)
      singulars
    3. COAs a work around you can implement a timer on onReadyForSpeech and after say 5s if onEndofSpeech has not been called, then call cancel and startListening again.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload