我在WMAppManifest.xml中添加了以下行,
<Capabilities>
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
<Capability Name="ID_CAP_SENSORS" />
<Capability Name="ID_CAP_LOCATION" />
</Capabilities>
在config.xml下我添加了以下行
<feature name="Device">
<param name="wp-package" value="Device" />
</feature>
<feature name="NetworkStatus">
<param name="wp-package" value="NetworkStatus" />
</feature>
<feature name="Accelerometer">
<param name="wp-package" value="Accelerometer" />
</feature>
<feature name="Compass">
<param name="wp-package" value="Compass" />
</feature>
<feature name="SplashScreen">
<param name="wp-package" value="SplashScreen" />
</feature>
请帮忙吗?