Speech recognition not works Android
问题 I want display in a TextView what I say using the tts engine. I have a Button : btnparla.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View arg0) { Intent i = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); i.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); i.putExtra(RecognizerIntent.EXTRA_PROMPT, "Say something"); try { startActivityForResult(i, VOICE_REC); //txt.setText(""); } catch (ActivityNotFoundException