I have a need to play some tones whilst the user is touching the screen. To get the UI to continue to respond whilst the tones play I need to use a separate thread.
Well, If I implement it as inline code it all works as expected. When I package it into a class the tone does not play. If I change the class to play on the same thread then it works (but then the UI suffers)
What is it about putting the thread call into a class that causes it not to work and is there something that can be done about it.
Grateful for any responses.
Well, If I implement it as inline code it all works as expected. When I package it into a class the tone does not play. If I change the class to play on the same thread then it works (but then the UI suffers)
What is it about putting the thread call into a class that causes it not to work and is there something that can be done about it.
Grateful for any responses.