简体   繁体   English

使用CameraCaptureTask启动默认的相机应用

[英]Using CameraCaptureTask to launch the default camera app

Windows Phone 8 gives the ability to change the default camera app with another one downloaded from the store, making this new app the one that's launched when you hit the camera hardware button. Windows Phone 8可以更改默认的相机应用程序,而该应用程序是从商店中下载的另一个应用程序,从而使该新应用程序成为您在按下相机硬件按钮时启动的应用程序。

So I was wondering if is there any chance to launch this app using the CameraCaptureTask . 所以我想知道是否有机会使用CameraCaptureTask启动此应用程序。

What I'd like to do is something simple like 我想做的是简单的事情

var camera = new CameraCaptureTask();
camera.Show();
camera.Completed += new EventHandler<PhotoResult>(camera_Completed);

but I want this to work with the default app that the user chose on its device, and not with the basic Microsoft's one. 但是我希望它可以与用户在其设备上选择的默认应用一起使用,而不是与基本的Microsoft一起使用。

I've not found anything online, so I'm asking to you guys if I can make what I want. 我在网上找不到任何东西,所以我问你们是否可以做我想做的事。

抱歉,当前的API无法实现。

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

相关问题 Windows Phone 8 App的CameraCaptureTask在Windows 10中不起作用? - CameraCaptureTask of Windows Phone 8 App is not working in Windows 10? 使用CameraCaptureTask时保持应用程序线程处于活动状态 - Keep application thread alive when using CameraCaptureTask 使用CameraCaptureTask时无法接受图像 - Accept of image not possible when using CameraCaptureTask 如何在 android 中从 Unity 启动相机应用程序? - How to launch Camera app from Unity in android? 在Windows Universal App中调用默认相机应用 - Call default camera app in Windows Universal App 有没有办法从Windows Phone 8.1应用程序启动手机摄像头应用程序 - Is there a way to launch phone camera app from Windows Phone 8.1 app 如何以编程方式从我的 Windows 10 应用程序启动相机应用程序? - How to launch camera app from my windows 10 app programmatically? 无法在Metro应用程序中启动默认应用程序 - Cannot launch default application in a Metro app 具有CameraCaptureTask的SensorCore - SensorCore with CameraCaptureTask 从我的UWP应用启动默认的Microsoft Windows Weather应用 - Launch the default microsoft windows weather app from my UWP App
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM