Hello,
I have a long process (audio decoding) which can take 30 or more seconds to execute, it is inline java code.
When i call my function it freeze app during execution (so 30 or more seconds).
Is there a solution to do that in background.
Tried thread.RunOnGuiThread but does not execute in background, it freeze app, maybe i don't use it as i should.
Tried thread.start but nothing happens.
If i understand, Erel seems to say that we should not use threads but resumable subs.
So what can i do in such a case ?
Thank you
I have a long process (audio decoding) which can take 30 or more seconds to execute, it is inline java code.
When i call my function it freeze app during execution (so 30 or more seconds).
Is there a solution to do that in background.
Tried thread.RunOnGuiThread but does not execute in background, it freeze app, maybe i don't use it as i should.
Tried thread.start but nothing happens.
If i understand, Erel seems to say that we should not use threads but resumable subs.
So what can i do in such a case ?
Thank you