Windows phone 8.1 Windows Phone 8.1没有基本的摄像头用户界面
嗯。问题Windows phone 8.1 Windows Phone 8.1没有基本的摄像头用户界面,windows-phone-8.1,win-universal-app,Windows Phone 8.1,Win Universal App,嗯。问题 我知道Windows phone 8.1中没有CameraCaptureUI,所以我必须使用MediaCapture类。这很好,但是UI呢?我是否必须从头开始在屏幕上制作和定位按钮?(如闪光灯按钮、前置摄像头按钮等) 关于诺基亚图像SDK。它提供用户界面吗?我是否可以使用该API拍照,而不是直接使用MediaCapture?。我试图找到一些有关使用诺基亚图像sdk初始化和拍照的信息,但找不到 您能告诉我在windows phone 8.1中实现MediaCapture的有用链接吗?有很
您可以使用FileOpenPicker,如果在文件类型列表中指定.png和.jpg,则picker将有一个摄像头捕获按钮,该按钮将打开标准摄像头捕获UI:
FileOpenPicker picker = new FileOpenPicker();
picker.FileTypeFilter.Add(".png");
picker.FileTypeFilter.Add(".jpg");
picker.ContinuationData["Data"] = "Something"; // Will be passed back to the app after the picker finishes
picker.PickSingleFileAndContinue();
如果您仍想编写自己的UI,请选中此链接:您可以使用FileOpenPicker,如果您在文件类型列表中指定.png和.jpg,则picker将有一个摄像头捕获按钮,用于打开标准摄像头捕获UI:
FileOpenPicker picker = new FileOpenPicker();
picker.FileTypeFilter.Add(".png");
picker.FileTypeFilter.Add(".jpg");
picker.ContinuationData["Data"] = "Something"; // Will be passed back to the app after the picker finishes
picker.PickSingleFileAndContinue();
如果您仍想编写自己的UI,请选中此链接:您可以使用FileOpenPicker,如果您在文件类型列表中指定.png和.jpg,则picker将有一个摄像头捕获按钮,用于打开标准摄像头捕获UI:
FileOpenPicker picker = new FileOpenPicker();
picker.FileTypeFilter.Add(".png");
picker.FileTypeFilter.Add(".jpg");
picker.ContinuationData["Data"] = "Something"; // Will be passed back to the app after the picker finishes
picker.PickSingleFileAndContinue();
如果您仍想编写自己的UI,请选中此链接:您可以使用FileOpenPicker,如果您在文件类型列表中指定.png和.jpg,则picker将有一个摄像头捕获按钮,用于打开标准摄像头捕获UI:
FileOpenPicker picker = new FileOpenPicker();
picker.FileTypeFilter.Add(".png");
picker.FileTypeFilter.Add(".jpg");
picker.ContinuationData["Data"] = "Something"; // Will be passed back to the app after the picker finishes
picker.PickSingleFileAndContinue();
如果您仍想编写自己的UI,请查看此链接:谢谢您的帮助!伟大的picker.SuggestedStartLocation=PickerLocationId.PicturesLibrary;背键给了我很多问题谢谢你的帮助!伟大的picker.SuggestedStartLocation=PickerLocationId.PicturesLibrary;背键给了我很多问题谢谢你的帮助!伟大的picker.SuggestedStartLocation=PickerLocationId.PicturesLibrary;背键给了我很多问题谢谢你的帮助!伟大的picker.SuggestedStartLocation=PickerLocationId.PicturesLibrary;背键给了我很多问题