Hi everyone,
I noticed that in newer androids when trying to set the engine with reflection as seen in my post in additional libraries, classes and official updates does not work (click the link to see the post):
https://www.b4x.com/android/forum/threads/ttsfunctions.94306/
I did some research on the internet and found that the following can be done:
Quoting from stackoverflow:
Is there a way to implement it in B4A?
Edit - Please skip directly to my last message. (#10)
Cheers
I noticed that in newer androids when trying to set the engine with reflection as seen in my post in additional libraries, classes and official updates does not work (click the link to see the post):
https://www.b4x.com/android/forum/threads/ttsfunctions.94306/
I did some research on the internet and found that the following can be done:
Quoting from stackoverflow:
The above answer is no longer valid as the method is deprecated. Android API 14 and above you need to use the constructor for setting the engine:
TextToSpeech(Context context, TextToSpeech.OnInitListener listener, String engine)
The "engine" String is the package name of the TTS engine you want to use.
Is there a way to implement it in B4A?
Edit - Please skip directly to my last message. (#10)
Cheers
Last edited: