开发者

wp7 CapabilityDetection.exe

Is there a way to determine what (and where) in my code is causing certain capabilities to be required?

When I run CapabilityDetection.exe against my bin folder it comes up with:

ID_CAP_MEDIALIB

ID_CAP_NETWORKING

ID_CAP_PHONEDIALER

ID_CAP_开发者_运维问答WEBBROWSERCOMPONENT

ID_CAP_IDENTITY_USER


ID_CAP_MEDIALIB indicates that you're accessing the media library somewhere, but I've seen this reported incorrectly a lot. ID_CAP_NETWORKING means you're accessing a data connection at some point, ID_CAP_PHONEDIALER means that you're making a phone call, ID_CAP_WEBBROWSERCOMPONENT means that you've go the WebBrowser control on at least one page. I don't think I've ever seen these reported in error. ID_CAP_IDENTITY_USER means that you're using the anonymous Windows Live ID for user identification, which is typically the case when you're using a third party analytics solution such as mtiks or Flurry.

There's a list of the various capabilities on MSDN. Generally speaking, if you don't think you're using a particular capability, take it out, and then check that your application still runs as expected.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜