Is there any way to record the user's speech using RecognizerIntent?
or
is there any way to have access to the audio used by RecognizerIntent?

I'm trying to do the same as synthesized speech:

String destFileName = "/sdcard/myAppCache/thespeech.wav";
myTexttoSpeech.synthesizeToFile(strText, myHashRender, destFileName);

but using RecognizerIntent, something like this maybe

protected void onActivityResult(int requestCode, int resultCode,
Intent data) {
....
  data.getAudioStream(RecognizerIntent.DEFAULT_STREAM,destFileName);
....
}

any ideas? suggestions?

Thanks,

Juan.
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to