title: Android Speech Recognition as a service on Android 4.1 & 4.2
body: <p>I have managed to get continuous speech recognition working (using the SpeechRecognizer class) as a service on all Android versions up to 4.1. My question concerns getting it working on versions 4.1 and 4.2 as it is known there is a problem in that the API doesn't do as documented in that a few seconds after voice recognition is started, if no voice input has been detected then it's as if the speech recogniser dies silently. (<a href="http://code.google.com/p/android/issues/detail?id=37883" rel="noreferrer">http://code.google.com/p/android/issues/detail?id=37883</a>)</p>
  
  <p>I have found a question which proposes a work-around to this problem (<a href="https://stackoverflow.com/questions/13670378/voice-recognition-stops-listening-after-a-few-seconds">Voice Recognition stops listening after a few seconds</a>), but I am unsure as how to implement the Handler required for this solution. I am aware of the 'beep' that will happen every few seconds that this workaround will cause, but getting continuous voice recognition is more important for me.</p>
  
  <p>If anyone has any other alternative workarounds then I'd like to hear those too.</p>