Small clarification needed regarding Resumable Sub/Wait for Event consumption
I have a sub called TTSCompleted which is called by a lib
in main code I use the following statement
Wait for TTSCompleted
When the event happens "Wait for" apparently resumes but the Sub TTSCompleted is not...
I'm currently using this coding to detect when the phone state changes when the phone app is on a phone call. Is there something like it to detect when audio from another app starts playing? I want to use the same type of coding to mute the exoPlayer volume as soon as another app...
I'm trying to stop the PhoneSensors from listening but am having trouble doing it. Can you look at my code and let me know what I still need to do?
This these next 3 sub routines have coding that supposedly stops the listening.
I created a class that changes the event View as a parameter by changing the view. This works well in B4A but does not work in B4J.
This is the code:
Private CallBack As Object 'ignore
Private EventName As String 'ignore
'Initializes the object. You can add...