简体   繁体   English

像Zune软件一样检测WP7手机

[英]Detect WP7 phone like Zune software

When I connhect my Windows Phone 7 device to my desktop, Zune automatically starts. 当我将Windows Phone 7设备连接到桌面时,Zune自动启动。 I need to develop an application that have the same behavior. 我需要开发一个具有相同行为的应用程序。

How can I do that? 我怎样才能做到这一点?

Thanks. 谢谢。

See this post Start program on usb hardware plugin 看到这篇文章在USB硬件插件上启动程序

So, you need to create a windows service which will polling connected usb-devices and starts your application. 因此,您需要创建Windows服务,该服务将轮询连接的USB设备并启动您的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM