带相机选项的 Windows Phone 7 照片选择器 [英] Windows Phone 7 Photo Chooser with Camera Option

查看:23
本文介绍了带相机选项的 Windows Phone 7 照片选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前在我的应用上使用相机选择器",但希望我的用户能够从他们当前的照片库中进行选择,并且仍然可以选择立即拍照.

I'm currently using a "Camera Chooser" on my app, but want my user to be able to select from either their current library of photos AND still have the option to take a picture immediately.

微软提供的照片选择器"没有选择相机的选项,而如果你在 Windows 手机上使用 SMS 并点击附加",它会启动一个照片选择器,但它有一个应用栏从相机中抓取照片的选项.

The "Photo Chooser" provided by Microsoft Doesn't have the option to select the camera instead, whereas if you go to SMS on a windows phone and tap "Attach" it launches a photo chooser but it has an app bar with the option to grab a photo from the camera.

开发者 SDK 是否可以做到这一点,还是 Microsoft 已经做到只有他们才能做到这一点?

Is this possible with the developer SDK or has Microsoft made it so only they can do this?

谢谢丹尼.

推荐答案

使用 PhotoChooserTask 并设置 ShowCamera 属性为 true.

Use the PhotoChooserTask and set the ShowCamera property to true.

这篇关于带相机选项的 Windows Phone 7 照片选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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