Android Question Switching TTS engines

stevieg

Member
Licensed User
Longtime User
Does anyone know how to switch to different TTS engines that have been installed on a device?

I have looked at a post by Erel that suggest:

Dim r As Reflector
r.Target = TTS
r.RunMethod2("setEngineByPackageName", "new.package", "java.lang.String")


But the "setEngineByPackageName" has been Deprecated in version 4 and above so that method cannot be called.


I have an Android Tablet that is running Version 4.0 and would like to switch to different TTS engines when needed.


I know how to get the name of the engines and its language capabilities, I just can't figure out how to switch between them programmatically.
 
Last edited by a moderator:
Top