Heard about tombstoning? The finishing manuere of WWE Legend Undertaker? Oh, yes! I’m love WWE universe. But, I’m not talking about WWE. In fact, it’s all about Windows Phone (WP) application life-cycle while multi-tasking.
In multi-tasking, Windows Phone uses a different approach for the application life-cycle. WP allows applications to be paused, made dormant and suspend without alerting the user that the application is being paused. It does this by notifying the application when it is being paused; then the application is also notified when it is to resume running. In the pause and resume states, the application is given a chance to save and load data to give the user the impression that the application is never stopped.
And this, application life-cycle in WP is called Tombstoning.
For those who are new to development, trust me - Windows Phone is not a device, it’s a Platform.
Yes! Yes! Yes!
Last week, I bought a Windows Phone 7.5 Mango - Samsung Omnia W device.
Do you know what W in Omnia W means? W stands for Wonder.
All I can say - "Touch her once, She'll make you Fall in Love!"
Yup! I’s unable to control my excitement when I downloaded and installed Window Phone 7 SDK and Developer Tools. In a hurry and skipping my dinner, I opened the first sample project – Silverlight for Windows Phone 7 and hit Run (F5).
Bhoom! I’s damn surprised to see the error:
Zune software is not launched. Retry after making sure that Zune software is launched.
Because I haven’t written a single piece of code! Instead I run the project as it is!
A keen and close look pointed out the issue:
I have set my target to Windows Phone 7 Device instead of Windows Phone 7 Emulator. All you have to do is to change the target to Windows Phone 7 Emulator.
That’s it. Now hit F5 and Run.
I simply fall in love with Metro UI. What about you?
Start developing - http://create.msdn.com/en-US/