The developers use various IDEs (Integrated Development Environments) for software creation, depending on programming languages, technologies, the number of people participating in the project, integration with source control management systems, and even continuous integration servers. Many different languages and technologies result in several IDEs being currently available for developers. Apart from IDEs, some additional tools (such as emulators, profilers, or configuration managers) are useful during development and can help to remove possible errors from the software.
For programming applications and games for the Windows Phone 8 platform, a specialized SDK (Software Development Kit) is available. It is called Windows Phone SDK 8.0 and contains several tools that form a complete environment for mobile development, including:
To install the SDK, you need to download the installer from the site http://www.microsoft.com/download/details.aspx?id=35471. To use the IDE, together with emulators, the PC has to run under the 64-bit Windows 8 operating system in Professional edition or greater, with the Hyper-V enabled. What is more, the processor has to support the hardware-assisted virtualization, the Second Level Address Translation (SLAT), and the hardware-based Data Execution Prevention (DEP). More details and additional requirements are presented at http://msdn.microsoft.com/library/ff626524.
Windows Phone 8 applications can be developed using various versions of Microsoft Visual Studio 2012 IDE, including:
For creating the game described in this book, the Microsoft Visual Studio Express 2012 for Windows Phone is used. It is available for free, and often is sufficient for development of simple projects. After SDK installation, a shortcut to the IDE should be available in the Start menu.
The Microsoft Visual Studio Express 2012 for Windows Phone has to be registered online. A suitable website is opened after selecting the Register Product option from the Help menu. You need to log in to the Microsoft account and then fill an online form. Then, the product key is generated and shown on the website, as well as sent to the e-mail address. After pasting it to the window in the IDE, the software should be successfully registered and the message Product Key Applied should be displayed.
An installation of the SDK is not sufficient for publishing created applications and games in the Windows Phone Store. For performing this operation, as well as for testing the software on a phone, the developer account is required. A process of its creation is quite simple and is described at the website http://dev.windowsphone.com/en-us/join.
After the successful registration, you can log in to the Windows Phone Dev Center and display the Dashboard, where a lot of useful information is presented. It includes account data, information about registered phones, and some reports. In case of publishing paid applications, it is also important to complete the tax profile and provide other required information, according to messages available on the website with the account summary.
After the successful creation of the developer account, it is useful to register the mobile phone, which will be used later during development. This makes it possible to test the created application or game also on a real device, and is really important before publishing the project to the store.
To register the Windows Phone 8 device, you should perform the following steps:
After a few seconds, the status should be changed to Congratulations! You have successfully unlocked your Windows Phone. Now you can see information about the phone at Dashboard in the Windows Phone Dev Center. Apart from displaying data of registered phones, you can also remove some phones and check dates of their registrations.
18.191.181.36