Hi, I'm using TTSID library in some Andoid apps.
I have noticed that (even with the simplest app) the initialisation of this library can be sometimes very long on some devices (about 5/10 seconds).
During that time, the app stop responding (even layout animations hangs) , while waiting for the initialization process to finish.
On all devices, TTS engine is set to Google. All device are samsung ones.
I tried to put this initialization line in the starter service but it's still the same behaviour, although the "hang" happen immediatly before the main layout loading .
I have also noticed that this behaviour do not happen with all devices : with older device, this problem do not occurs, as the initilisation takes maybe one second or less.
Is there a way to improve this lib initilization time ?
If no, how and where can i display something like a a loading indicator not to make believe the user that the application is hang during these 5/10 seconds ?
Thank you
I have noticed that (even with the simplest app) the initialisation of this library can be sometimes very long on some devices (about 5/10 seconds).
During that time, the app stop responding (even layout animations hangs) , while waiting for the initialization process to finish.
On all devices, TTS engine is set to Google. All device are samsung ones.
B4X:
TTS.Initialize(Me,"TTS")
I tried to put this initialization line in the starter service but it's still the same behaviour, although the "hang" happen immediatly before the main layout loading .
I have also noticed that this behaviour do not happen with all devices : with older device, this problem do not occurs, as the initilisation takes maybe one second or less.
Is there a way to improve this lib initilization time ?
If no, how and where can i display something like a a loading indicator not to make believe the user that the application is hang during these 5/10 seconds ?
Thank you