Android Question Pause [wrong - to be deteled]

MarkusR

Well-Known Member
Licensed User
Longtime User
would not sleep(5000) the same?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Sleep can not allow to achieve the prefixed purpose:
That's true. However there isn't any other code that will allow it (without using the problematic DoEvents) as holding the main thread is a bad idea.

This thread should be deleted, as I wrote in the title (but this was ignored) as this is not a useful snippet.
I've moved it to the questions forum. I prefer not to delete complete discussions. This is indeed a common mistake. If I remember correctly I even talk about it in the video tutorial.
 
Upvote 0
Top