In this post, we will setup environment for development of Windows Phone Application using PhoneGap .
Start with Downloading PhoneGap from github . After downloading of file extract its content and open lib folder
In the Lib folder open Window folder
From Windows Folder copy zipped file CoroDovaStarter and copy to folder
C:\Users\username\Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual C#\Silverlight for Windows Phone
Note: If you do not have Silverlight for Windows Phone folder creates it inside Visual C# folder.
Now open visual studio and create new project, you should be having a new project template named CordovaStarter
If you want to create Windows Phone Application using PhoneGap and other web technologies then you need to select CorodovaStarter template. Let us start with selecting this template and creating a Hello World Application. After creation of project examine solution explorer, you will find a folder created named www
All the scripts on the page get executed when device is ready. Readiness of device can be
All the scripts should be written in deviceready function.
If you run the application after making above changes, you should be getting below output.
Eventually index.html should be having codes as below,
As of now we have set the environment to develop Windows Phone application using PhoneGap or Cordova. In further post we will explore other capabilities and features of PhoneGap or Cordova.Follow @debug_mode