I need to fire off several tasks each time the app starts - mainly http calls, for example to grab the latest data the user has entered on the website and to synchronize their mobile initiated items to the website.
I'd like to do these asynchronously so the UI is not frozen while they happen. What's a good way to do that?
This earlier question suggests creating a new window to run the async tasks in, and another question suggested using setTimeout.
setTimeout doesn't appear to work (still freezes the UI). I was about to try the new window method, but wanted to see if there are other ways of achieving multi-threading or background tasks.