CLR Namespace demonstrated a stopwatch application that you can run, exit the program (which closes it and without multitasking means that it stops running) and then when the program restarts and it gives the running time as though the app was running in the background.

The trick is accomplished by saving the state of the application before it closes and when the app is restarted the time from the original clock is computed. So to the end user it appears to have been running in the background the whole time. Now this doesn’t get Pandora to play in the background but time keeping apps and the like can take advantage of this. I’m curious to see what other ways devs can save states to get past the limitations of multitasking.

In short, not only Android does it well, WP7 can too, if you know what you’re doing :)

Join the forum discussion on this post