title: SpeechRecognizer on Android device without Google Apps
body: <p><code>SpeechRecognizer</code> works well on Android that with Google Apps (GApps). However in China, most of the Android devices will remove these Google Apps. What will happen when <code>SpeechRecognizer</code> is used? How could I test it without an actual device?</p>
  
  <pre><code>speechRecognizer = SpeechRecognizer.createSpeechRecognizer(getApplicationContext());
  speechRecognizer.setRecognitionListener(new CustomListener());
  Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
  intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "zh_HK");
  intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
  intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, getClass().getPackage().getName());
  intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 1);
  intent.putExtra(RecognizerIntent.EXTRA_PARTIAL_RESULTS, false);
  intent.putExtra("android.speech.extra.EXTRA_ADDITIONAL_LANGUAGES", new String[]{"zh_HK", "en-US"});
  speechRecognizer.startListening(intent);
  </code></pre>
  
  <p>where <code>CustomListener()</code> implements <code>RecognitionListener</code>.</p>