This blog post will demonstrate how to get started with the Windows Phone 8 development using Oxygene by creating a simple “Hello World” app.
Make sure that all the prerequisites are installed as described in the Oxygene & WP8 – Setting up the Development Environment blog post.
To create a Windows Phone 8 Project using Oxygene, follow the below steps
- Launch Visual Studio 2012 on your Windows 8 PC.
- Click “File” menu and then “New Project”.
In the “New Project Dialog”, select “Oxygene for .NET” in the template (left sidebar) and then click “Windows Phone”. This will display the list of available templates for Windows Phone development using Oxygene for .NET as shown in the below screenshot.
- Provide a Name for the Windows Phone project and choose the location where the project should be created and click “OK”.
This should being in a dialog which prompts the user to select the “Target Windows Phone OS Version” as shown in the below screenshot. Let’s select Windows Phone OS 8.0 and click OK.
- If you are using the trial version of the “Oxygene for .NET” , this will prompt you a message indicating the trial version , In this case , click “Continue as trial” to continue.
You will immediately see that the Windows Phone project is created. You can see the list of files created in the project from Solution Explorer which contains the MainPage.xaml , MainPage.xaml.pas along with other files and folders as shown in the below screenshot.
- Double click on the MainPage.xaml to open the Windows phone page in the designer.
- Now , select the TextBlock that displays as “Page name” , right click and select “Edit Text”
- Change the text to “Hello World”. Similarly, change the text that is defined for the application on the top of the page.
Press F5 to run the project. This will launch the Windows Phone 8 emulator and you should soon the first Windows phone app in the emulator J
Latest posts by Senthil Kumar (see all)
- Acer reveals Liquid M220 Windows Phone at Mobile World Congress 2015 - March 2, 2015
- Free eBook on Microsoft Azure Essentials: Fundamentals of Azure - March 2, 2015
- Presented at Microsoft Webinars on What’s new in C#, Debugging & Profiling with VS2015 - February 26, 2015
- Win a trip to Microsoft Ignite via MVA - February 25, 2015
- Performance and Diagnostics Tools for Universal App - February 21, 2015