Multitasking in Windows Phone 7: it can be done...kinda

In an interesting twist, it seems that at least for some types of programs written for Windows Phone 7, multitasking or rather, the simulation of multitasking is completely possible.

Over at clr-namespace.com, the author whipped up a stopwatch application which you can start, then "minimize" then return to the app and it appears to have be running the whole time.

Of course in reality, it's not. It's "tombstoning" the application, which is a process by which

...the operating system maintains state information about the application. If the user navigates back to the application, the operating system restarts the application process and passes the state data back to the application, where the user will be able to continue seamlessly from his last interaction point with the application

In this case, the stopwatch does pause, but when restarted it counts back up from the original start time, giving the illusion that it has been "counting" while paused. This all happens without the user even knowing, making it a bit of a kludge, but a good one for this application.

How can this be applied to other programs? We're not really sure but it goes to show with some ingenuity, programmers can get around some of these "limitations".

[clr-namespace via Silverlight Show.net]

Daniel Rubino
Editor-in-chief

Daniel Rubino is the Editor-in-chief of Windows Central. He is also the head reviewer, podcast co-host, and analyst. He has been covering Microsoft since 2007, when this site was called WMExperts (and later Windows Phone Central). His interests include Windows, laptops, next-gen computing, and watches. He has been reviewing laptops since 2015 and is particularly fond of 2-in-1 convertibles, ARM processors, new form factors, and thin-and-light PCs. Before all this tech stuff, he worked on a Ph.D. in linguistics, watched people sleep (for medical purposes!), and ran the projectors at movie theaters because it was fun.