In this article we make a first approach to software development for Windows Phone.
To start, we need to install the Windows Phone SDK 7.1, wich comes with a free IDE (Visual Studio Express) and with a Windows Phone Emulator, which allows you to test your apps before deploying them to a Windows Phone-based mobile device.
In this example app, the Visual Studio 2010 has been used, but, of-course, Windows Phone SDK 7.1 must allways be installed.
Windows Phone execution model
Before starting the development of our first app, just some words about the Windows Phone execution model:- Just one App may run in foreground at a given moment in time;
- Other Apps in execution are put into a dormant state;
- When the device's memory isn't enough, the operating system (OS) starts terminating Apps in the dormant state.
- Through their programming framework, Apps can manage their state when they are activated or deactivated. This can be used to give the user the impression that an app has always been running, even when it is stopped and later reactivated.