how can use Persian tts example in android? i want an android TTS for Persian languages this is my example but in android we don't have all languages what can i do?
myTTS.setLanguage(Locale.US);
how can use Persian tts example in android? i want an android TTS for Persian languages this is my example but in android we don't have all languages what can i do?
myTTS.setLanguage(Locale.US);
Recently persian (farsi) added to espeak project. As I know, espeak is open source and work also in android.
To fine whether a specific language is supported, use isLanguageAvailable(), which returns the level of support for the given language. Example:
myTTS.isLanguageAvailable(Locale.PERSIAN))
If supported, it will return as follows:
TextToSpeech.LANG_COUNTRY_AVAILABLE
Here is the persian version of Espeak for android. You can install it through adb. If you don't have access to adb through shell. Here is a guide for windows: http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
persian version of http://irtbc.ir/d/3829878
To install through adb type adb install espak.apk