문제

How can I enable/disable programmatically capabilities in a metro app, i.e. capabilities settings defined in the package app manifest such as internet, microphone, location, etc.?

도움이 되었습니까?

해결책

I did a Google search, then I fired up the "help" on my copy of MSVS2012RC (the latest/greatest Metro-capable compiler).

Then answer is "you must set capabilities in your Package Manifest, and only in the Package manifest". It appears that capabilities cannot be changed programmatically.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top