使用设备进行调试时无法启动 CameraCaptureTask 或 PhotoChooserTask [英] Unable to launch CameraCaptureTask or PhotoChooserTask while debugging with device

查看:19
本文介绍了使用设备进行调试时无法启动 CameraCaptureTask 或 PhotoChooserTask的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在连接的设备上调试我的应用程序*(Dell Venue Pro WP 7.0)* 但每当我尝试启动 CameraCaptureTaskPhotoChooserTask 在我的应用程序中然后什么也没有发生.每次我必须断开设备与 Zune 的连接,然后应用程序才能正常工作.但我想在设备上调试我的应用程序.我无法弄清楚那里发生了什么.没有异常,没有错误?

I'm trying to debug my application on the connected device*(Dell Venue Pro WP 7.0)* but whenever I try to launch CameraCaptureTask or PhotoChooserTask in my app then nothing happens. Everytime I've to disconnect the device from the Zune and then app works fine. But I want to debug my app on device. I'm not able to figure out what is happening there. No Exception , No Errors ?

推荐答案

当您与 Zune 连接时,您无法使用相机或照片选择器.

You can't use the Camera or the Photo Chooser while you're connected with Zune.

相反,连接设备,关闭 Zune,然后启动 WPConnect.exe,然后您就可以部署和调试了,如果您愿意,仍然可以使用相机、照片甚至音乐.

Instead, connect the device, shut-down Zune, and start WPConnect.exe, and then you can deploy&debug, and still use the Camera, Photo or even Music if you want to.

您可以在

C:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Tools\WPConnect

这篇关于使用设备进行调试时无法启动 CameraCaptureTask 或 PhotoChooserTask的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆