February 2015
Intermediate to advanced
768 pages
26h 24m
English
To use a custom device, regardless of protocol, you must specify an appropriate device capability in your package manifest. The one exception to this is Wi-Fi Direct, covered at the end of this chapter. Specifying the capability must be done directly in the XML as follows, due to lack of support in Visual Studio’s package manifest designer:
<Capabilities> <m2:DeviceCapability Name="protocol"> <m2:Device Id="device"> <m2:Function Type="functionType"/> </m2:Device> </m2:DeviceCapability> ... </Capabilities>
Unlike the DeviceCapability element used with pointOfService, this one must be prefixed with the m2 prefix that corresponds to the Windows 8.1 XML namespace. ...
Read now
Unlock full access