Android Question TTS Events and Activities.

John Sturt

Active Member
Licensed User
Longtime User
Hello All
I have recently added

B4X:
   Dim nw As Long = DateTime.Now
   Do While JavaTTS.RunMethod("isSpeaking",Null)  Or DateTime.Now > (nw+1000)
   DoEvents
   Loop

Where JavaTTS has been set to the TTS in the TTSEventName_ready Event.

The problem i am having is when i
start another activity with a button the app will sometimes hang
with no ANR just a blank screen.
I have run it under both debug rapid and legacy and this was no help at all.
The one thought i have is that it is Events not finishing
is there a way to monitor events?

Many Thanks
 
Top