title: How to connect SpeechRecognizer to RecognizerIntent with Extras
body: <p>I am trying to wrap my mind around the SpeechRecognizer. I have a SpeechRecognizer with my own Recognition Listener:</p>
  
  <pre><code>rec = SpeechRecognizer.createSpeechRecognizer(this);
      rec.setRecognitionListener(new RecognitionListener() {
          //Lots of overrides that work perfectly fine
      });
  </code></pre>
  
  <p>Wich works fine when I launch it by using rec.startListening(intent);
  But my intent happens to have some Extras:</p>
  
  <pre><code>        intent.putExtra(RecognizerIntent.EXTRA_PARTIAL_RESULTS, true);
      intent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, true);
      intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "de-DE");
      intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 3);
  
      intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
              RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
  </code></pre>
  
  <p>All of those, the Recognizer rec totally ignores when launching with rec.startListening(intent);</p>
  
  <p>On the other hand, when I use startActivityForResult(intent, 1000, intent.getExtras()); to start the recognition, the Code from the  RecognitionLister is totally ignored.</p>
  
  <p>How do I start the recognition with my own RecognitionListener AND the intent-extras?</p>
  
  <p>Layna</p>
  
  <p>=============</p>
  
  <p>PS: I have by now realised that startActivityForResult has absolutely no reason to use the code for the ReconitionListener.... but I am still confused why startListening should ignore extras.</p>