Hi, I'm having the same problem.

I have an Android cell set to Japanese.
But I added  "intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE,
Locale.US.toString()); "
to the API Demo and tried it out on the cell but it only recognize the
voice as Japanese and not English.
BYW, it's not my english pronounciation that's the problem. I have
another cell that is set to English and it recognize my pronounciation
perfectly.

package com.example.android.apis.app;

Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);

        intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
                RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
        intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE,
Locale.US.toString());
        intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speech
recognition demo");
        startActivityForResult(intent,
VOICE_RECOGNITION_REQUEST_CODE);

Does anyone know the right way to override the language setting?
Warm Regards
Hironoroid

-- 
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