WP7 - Sensors

In traditional desktop based development, we only bothered about keyboards for accepting input. With smartphones, things are slighlty differenet. Other than keyboard inputs, smartphones has a set of sensors that takes the user-experience (UX) in different level. Last day, I downloaded a bike racing game from Windows Marketplace, where you need to move the bike left and right, by simply tilting the phone to left and right. Cool isn't it?

Windows Phone supports a set of sensors and they allows you to take UX to next level and they are as below:



WP7 – Tombstoning

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.


WP7 - Zune software is not launched. Retry after making sure that Zune software is launched.

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. Smile


I simply fall in love with Metro UI. What about you?

Start developing - http://create.msdn.com/en-US/