cordova - Error when deploy a windows 7 app into emulator -


i developed app jquery mobile , compiled phonegap build. when try install windows 7 emulator got error like

error- installation of application failed. run time error has occurred. fix capabilities in wmappmanifest.xml file.

here wmappmanifest.xml

<?xml version="1.0" encoding="utf-8"?> <deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" appplatformversion="7.1">   <app xmlns="" productid="{80a42ce2-0c9f-39d1-a273-bb2e5bdbe855}" title="pg build app"         runtimetype="silverlight" version="0.0.1.0" genre="apps.normal"          author="xxxxxx@gmail.com"         description=""         publisher="xxxxxx@gmail.com">      <iconpath isrelative="true" isresource="false">applicationicon.png</iconpath>     <capabilities>       <capability name="id_cap_contacts" />       <capability name="id_cap_identity_device" />       <capability name="id_cap_isv_camera" />       <capability name="id_cap_location" />       <capability name="id_cap_microphone" />       <capability name="id_cap_networking" />       <capability name="id_hw_frontcamera" />       <capability name="id_cap_webbrowsercomponent" />     </capabilities>      <tasks>       <defaulttask name="_default" navigationpage="mainpage.xaml" />     </tasks>     <tokens>       <primarytoken tokenid="cordova_1._5._0_starter1token" taskname="_default">         <templatetype5>           <backgroundimageuri isrelative="true" isresource="false">background.png</backgroundimageuri>           <count>0</count>           <title>cordova_1._5._0_starter1</title>         </templatetype5>       </primarytoken>     </tokens>   </app> </deployment>  <!-- wpsdk version 7.1.7720.0 --> 

what capabilities need add here?

check windows phone capability detection tool: http://msdn.microsoft.com/en-us/library/gg180730(v=vs.92).aspx

you can run determine capabilities of dll or xap files.

edit:

here default capabilities when project created:

 <capabilities>   <capability name="id_cap_gamerservices"/>   <capability name="id_cap_identity_device"/>   <capability name="id_cap_identity_user"/>   <capability name="id_cap_location"/>   <capability name="id_cap_medialib"/>   <capability name="id_cap_microphone"/>   <capability name="id_cap_networking"/>   <capability name="id_cap_phonedialer"/>   <capability name="id_cap_push_notification"/>   <capability name="id_cap_sensors"/>   <capability name="id_cap_webbrowsercomponent"/>   <capability name="id_cap_isv_camera"/>   <capability name="id_cap_contacts"/>   <capability name="id_cap_appointments"/> </capabilities> 

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -