Windows Phone 8 development experience

Source: Internet
Author: User

Windows Phone 8 is the operating platform of 3rd smartphones, except Android and IPhone. As a loyal fans of Microsoft technology, fans has been paying attention to and following up on the latest developments in Microsoft technology. Here we will briefly introduce how to develop Windows Phone 8.

To develop a Windows Phone 8 Application or game, you must first build a development environment.

The operating system must be 64-bit Windows 8 or later, and the development tool VS version is VS2012 or later. Here VS recommended install VS2012 Ultimate version, http://www.microsoft.com/zh-cn/download/details.aspx? Id = 30678. Of course, you can also install VS2013, corresponding to Windows 8.1.

After VS2012 Ultimate is installed, we can find the Windows platform Installer. If the installation program is not found on the local machine, you can download and install it from here: http://www.microsoft.com/web/downloads /.

After installing the Windows Installation Program, run it. The following page is displayed.


Choose Windows Phone SDK 8.0 in product-tool for installation. Of course, there are many other tools here. You can add them if you are interested.

After installation, open VS2012.


Select Windows Phone. You can see that various types of project options have been installed.

Okay. Try Windows Phone 8 development now. Select the Windows Phone application and click OK. VS automatically creates a runable default Windows Phone 8 Application for us.


The structure of the project is displayed. Isn't that the style of the WPF project we are familiar? Yes, Windows Phone 8 uses the XAML language for page layout and programming with C # and other background languages. If you have experience developing WPF or SilverLight, programmers can smoothly transition to Windows Phone 8 development. Therefore, WPF (desktop)-SilverLight (browser)-Windows Phone 8 (smart Phone) can master three technologies at once, from desktop to browser to smart Phone, I have mastered the technologies of the three platforms. Is it a sense of accomplishment? Haha.

Now, we can directly run the created default project to run the mobile phone simulator. The Windows Phone 8 simulator runs much faster than Android and feels smoother.


Isn't this the Metro style we are familiar? Is it the same as Windows 8? It can be understood as the mobile version of Windows 8.

Now let's prepare an example?

In this example, I chose the official Microsoft example for demonstration. Source Code address: http://code.msdn.microsoft.com/wpapps/local-database-sample-57b1614c. You can download the C # and VB versions.

This is an example of local database operations. We use VS2012 to open this project.


Have you seen it? By default, the designer is split into columns, with the Display Effect on the left and the code area on the right.

Okay, let's run this program.




If you want to install it on a real machine, you can find the Xap file under the Bin \ Debug directory of this project (similar to the Android Apk and IPhone Ipa ), copy it to your real machine or put it on Microsoft's cloud disk SkyDriver to download and install it.

This is what this example brings to us. There are also many small examples to download from the official website. If you are interested, please try the exciting Windows Phone 8 development.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.