Objective
As the Windows Phone device launch date approaches, the new Smart device platform for Microsoft is getting more attention. I have also shifted the focus from Windows Mobile with Windows Embedded CE slowly to the development of Windows Phone. So write the Silverlight for Windows Phone 7 development series, from a simple to deep story about the development of Silverlight for Windows Phone. This series is mainly about a network radio development process, this network radio program involves the use of Silverlight control, the operation and use of pictures, image distortion (transform) and animation (animation), network media playback, and so on many aspects. At the same time, I'll also cover some of the differences between Silverlight for Windows phone and Silverlight 3/4 in this article, and the attention points of mobile smart phone development. Hopefully, by reading this series of articles, after completing all the steps in the article, you can get started with the development of Silverlight for Windows phone.
Brief introduction
This article describes the building process of the Windows Phone 7 development environment, and describes the points of attention in building.
Environment Building System Requirements
The development of Windows Phone 7 requires that the following requirements be met:
* One of two operating systems: Windows and Windows Vista SP2, two operating systems do not support a simple version (Starter Edition) and require a higher level version.
* The system disk has more than 3GB of space.
* Memory space reaches 2 GB or more.
* With DirectX 10 compatible display card, and install WDDM 1.1 driver.
When you do XNA development, the Windows phone emulator supports GPU hardware acceleration, so you need a DirectX 10-compliant display card, and you need to install the WDDM 1.1 driver. Because Windows Phone's emulator itself uses virtual machines, it cannot use other technologies such as Virtual PC and Hyper-V.
Tip: Do not use virtual machines.
The contained Tools collection
Installing Windows Phone Developer Tools includes the following collections:
* Visual Studio Express for Windows Phone Beta
* Windows Phone Emulator Beta
* Silverlight for Windows Phone Beta
* Microsoft Expression Blend for Windows Phone Beta
* XNA Game Studio 4.0 Beta
Visual Studio Express for Windows Phone Beta is the integrated development environment (IDE) for Windows Phone, which includes C # and XAML code editing, simple interface layout and design features, compiler programs, Connect Windows Phone Emulator, deploy programs, and debug programs and other features. Microsoft offers free version (Express) Visual Studio and SQL Server for developers and users, and users are free to use them.
Windows Phone Emulator beta is a Windows Phone emulator that allows developers to continue to develop Windows Phone apps without real devices, a series of articles that are based on Windows Phone emulator, So learning this series of articles does not require the support of real equipment.
But the current version of the simulator is not anything can be done, with a certain degree of restriction.
Can do
Run the Silverlight for Windows phone program.
Run the program XNA for Windows phone.
Can't do
There is no telephone simulator (cellar emulator), can not play and accept the phone, and can not send and receive text messages.
No GPS simulator can automatically generate the GPS simulation data.
The simulation data for the Gravity Accelerator (accelerometer) simulator are not updated and remain as matrices (0, 0,-1), indicating that the simulator has not been moved.
Cannot simulate a built-in lens.
The emulator does not contain a WebBrowser control.
This can be done and can not do the actual, I think Microsoft will soon add the corresponding simulation function, Windows Mobile simulator at the beginning of a part of the function can not be simulated, followed by the addition of external programs to support the relevant simulation functions.
Silverlight for Windows Phone beta and XNA Game Studio 4.0 beta. Windows Phone 7 supports Silverlight and XNA development, and developers are free to choose Silverlight or XNA to develop, typically using Silverlight to develop applications and use XNA to develop games. But there is no limit, you can use Silverlight to develop games, and even use two techniques to develop together. The Visual Studio Express for Windows Phone, described above in this article, is just an IDE, simply a powerful editing and compiling tool, independent of language and platform-independent. You must cooperate with Silverlight for Windows Phone and XNA Game Studio 4.0 to develop Silverlight and XNA with Visual Studio Express for Windows Phone Order. Silverlight for Windows Phone and XNA Game Studio 4.0 also contain program templates, built-in class libraries, and so on.
Microsoft Expression Blend for Windows Phone Beta is a powerful XAML UI design tool that uses Expression Blend to complement the UI design that is missing from visual Studio Express Features, such as designing animations (Animation). When you develop the Silverlight program, you can use Visual Studio Express to collaborate seamlessly with Expression Blend.