Environment Setup and configuring Phonegap for Windows Phone 8

Posted By : Pawanpreet Singh | 20-May-2013

Recently I got to port an existing project made with phonegap for iOS and Android to project in Windows Phone 8. In below I am going to explain whole process to setup new project for Windows Phone 8 using Phonegap framework.

Requirements:-

Software

Hardware

  • 64 Bit CPU with Virtualization support
  • 4 GB RAM

To check if your CPU supports Virtualization:

  • You have to download coreinfo file.
  • Now extract this file which you have downloaded.
  • Open Command Prompt with administrative privileges.
  • Move to the location where you have extracted this file.
  • Type ‘coreinfo.exe -v’ command.
  • If you are using Intel processor and in output you got * (asterix) in front of EPTor If you are using AMD processor and in output you got * (asterix) in front of NPT then your processor supports SLAT.
  • If you got - (dash) in front of EPT or NPT then your processor does not supports SLAT.
  • You may have to enable virtualization (VT-x) from your BIOS settings usually it is disabled in Intel based machines.

Environment setup and Configuring

  1. Extract the Downloaded latest build of Phonegap.
  2. Move to lib -> windows-phone-8.
  3. Copy the CordovaWP8XX_X.zip file to My Documents\Visual Studio 2012\Templates\Project Templates\
  4. Open Visual Studio for Windows Phone and create New Project.
  5. Select CordovaWP8 project and fill the details for your project and press OK button.
  6. There is www folder where we are going to work for demo purpose Phonegap has generated some files and added to this folder so one can test cordova is working.
  7. To test this project select the emulator from dropdown and press the green play button.

Now to make your project you have to work in www folder of this generated project.

About Author

Author Image
Pawanpreet Singh

Pawanpreet is an seasoned Project Manager with a wealth of knowledge in software development, specializing in frontend and mobile applications. He possesses a strong command of project management tools, including Jira, Trello, and others. With a proven track record, he has successfully overseen the delivery of multiple software development projects, managing budgets and large teams. Notable projects he has contributed to include TimeForge, Yogyata, Kairos, Veto, Inspirien App, and more. Pawanpreet excels in developing and maintaining project plans, schedules, and budgets, ensuring timely delivery while staying within allocated resources. He collaborates closely with clients to define project scope and requirements, establish timelines and milestones, and effectively manage expectations. Regular project status meetings are conducted by him, providing clients and stakeholders with consistent updates on project progress, risks, and issues. Additionally, he coaches and mentors project leads, offering guidance on project management best practices and supporting their professional development.

Request for Proposal

Name is required

Comment is required

Sending message..