[英]How to change the default settings of Camera on MediaCapture Windows Phone 8.1 RT?
I have an app which can capture image (just demo app) but I do not know how to change the Camera mode of this and how to turn on/off/auto of FlashMode, or how to make a camera focuses (I do not know to to present it, sorry) before taking a photo? 我有一个可以捕获图像的应用程序(只是演示应用程序),但是我不知道如何更改其相机模式以及如何打开/关闭/自动启用FlashMode或如何使相机对焦(我不知道提出来,抱歉)在拍照之前? I tried many examples but they are about Silverlight platform or Universal Windows App when I am developing on Windows Phone 8.1 Runtime.
我尝试了许多示例,但是当我在Windows Phone 8.1 Runtime上进行开发时,它们是关于Silverlight平台或Universal Windows App的。
Can you help me please! 你能帮我吗!
P/s: I used MediaCapture and CaptureElement to take the photo. P / s:我使用MediaCapture和CaptureElement拍照。
Here are some links that could help you on your way. 这里有一些链接可以帮助您。
Silverlight: https://code.msdn.microsoft.com/windowsapps/AdvancedCamera-ba47da27 Silverlight: https : //code.msdn.microsoft.com/windowsapps/AdvancedCamera-ba47da27
WinRT: http://wpcsharp.blogspot.nl/p/how-to-use-camera-in-wp-81-app.html http://www.slideshare.net/WindowsPhoneRocks/17-camera-media-and-audio-in-windows-phone-81 (best) WinRT: http : //wpcsharp.blogspot.nl/p/how-to-use-camera-in-wp-81-app.html http://www.slideshare.net/WindowsPhoneRocks/17-camera-media-and音频在Windows Phone 81中 (最佳)
Flashlight WinRT: https://msdn.microsoft.com/library/windows/apps/dn279077 Flashlight WinRT: https : //msdn.microsoft.com/library/windows/apps/dn279077
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.