Search code examples
androidmultithreadingandroid-asynctaskapp-inventor

App Inventor: Asynchonous tasks?


Is there any way to use more than one thread in MIT App Inventor? I'm trying to keep a while loop going while the app does other things, is this possible?


Solution

  • No, that's not possible, App Inventor is single threaded, see also the model of event processing in App Inventor by Lyn.

    You therefore should better use a clock component instead of a while loop. See also my doSomething example

    enter image description here