Locale and TTS problem

by jax » Sun, 01 Nov 2009 12:37:05 GMT


Sponsored Links
 I have set my emulator to use US English.

When I run Locale.getDefault()

There is no country code!
The language code is set to "en_us"

When I set a varaible "audioLocale" using

audioLocale= Locale.US

The country code is "US"
The language code is "en"

When I run

mTts.isLanguageAvailable(audioLocale) == TextToSpeech.LANG_AVAILABLE

I get

-2 == 0

Why is mTts reporting that the US language is not available?


--