How to install .xap phonegap build in windows phone 8?

user3107283 picture user3107283 · Mar 21, 2014 · Viewed 18.2k times · Source

I have developed one simple game by using phonegap android BUT after build for windows, ios, android, blackberry etc, its working only for android devices, so I can install apk file for android devices BUT for windows .xap file is not detecting in the windows phone 8 device. I have downloaded .xap from after build in phonegap. Anybody please advice me How to install .xap into wp8? Any steps and procedure appreciated a lot. Thanks in advance

Answer

deeiip picture deeiip · Mar 21, 2014

To install xap:

  1. you have to register as windows phone developer here
  2. Now connect the phone to computer with a data cable. Go to this location C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Phone SDK 8.0 and run Windows Phone Developer Registration shortcut. You need to provide your microsoft account details to unlock the phone for debugging.
  3. Now run the Application Deployment shortcut from the same location and you'll be able to install the app to windows phone ( you can do this with visual studio also).

according to phoneGap also you need the windows phone sdk.