.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
satyapriyanayak

Home >> Articles >> Windows Phone >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Developing your first Windows Phone 8 Application

Posted By:Karthikeyan Anbarasan       Posted Date: January 09, 2013    Points: 200    Category: Windows Phone    URL: http://www.f5debug.net/  

In this article we are going to see how to develop your first Windows Phone 8 Application using the all new Visual Studio 2012 IDE. Before proceeding further I would suggest you to have a glance at the previous article on the Requirements that should be taken care to start developing the Windows Phone Application
 


In this article we are going to see how to develop your first Windows Phone 8 Application using the all new Visual Studio 2012 IDE. Before proceeding further I would suggest you to have a glance at the previous article on the Requirements that should be taken care to start developing the Windows Phone Application. So our task today is creating a Windows Phone 8 application and running it on the emulator that is installed along with the Windows Phone 8 SDK.


So let us see the steps on how to achieve this task, first Open Visual Studio 2012 IDE in administrator mode and select File then New Project to select the type of project for developing our Windows Phone application as shown in the screen below.




Now let us select a basic template (Which is Windows Phone App in Visual C#) and provide a valid Name of the application, Location to which the project files need to be saved and the Solution Name in the respective fields of the Wizard as shown in the screen below.



Clicking on OK will show a small pop up with the list of available and installed Windows Phone SDK’s that will be listed. Prior to Windows Phone 8 SDK we had Windows Phone 7, Windows Phone 7.1 SDKs available in the Market. If the SDK’s are installed in the development machine then it will be listed in the Popup as shown in the screen below. Here in our sample we will select Windows Phone 8 SDK and click ok to proceed further.




Clicking on OK will create the application and we can see a list of default files will be added to the Solution Explorer as shown in the screen below. These files will be created while selecting this basic template, if we proceed with some other template then we can see a different set of templates that will be listed in the Solution Explorer of that project.



Now the application project files are created, we need to customize the application to our requirement and start publishing it to the market place once the application is designed and development completely. Let us make a small change in the code by adding a label and a text box to get some user inputs as shown in the screen below. The code is going to be in XAML and C# as I am hardcore developer in C#, but we have an option to use Javascript if at all you are a web developer looking to develop a windows phone application.



Let us run the application directly pressing F5 from the keyboard or using the Build and Execute option from the Tool bar and we can see the application opens in a Windows Phone Emulator as shown in the screen below. As of now we will take the work Emulator as a Virtual Environment to run the Windows Phone application, we will see in detail on what an Emulator is and the uses of it in the upcoming articles.





So our application is running perfectly in the emulator, now in real time once our development is done we can proceed with publishing the application to the Market place which we will see at the end of this series. Hope this article of some use to your learning, keep looking into http://www.dotnetspark.com/ to get complete idea on Windows Phone Application development.

 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend