前置摄像头和后置摄像头同时打开? [英] Opening of Front Camera and Back Camera simultaneously?

查看:1441
本文介绍了前置摄像头和后置摄像头同时打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Android中同时打开前置摄像头和后置摄像头?可能吗?

How can i open both front camera and back camera at the same time in android? Is it possible?

我已尝试过,但我的应用程序停止不幸。
请帮助..

I have tried tried but my application stops unfortunately. Please Help..

推荐答案

在某些设备上基于Snapdragon 805,你可以。在其他情况下,制造商选择阻止朴素的方法,但本机相机应用程序知道如何做到,并与一些逆向工程努力,你可以重现他们的方法(我已经部分成功与三星S4之前,我失去了兴趣

On some devices, e.g. based on Snapdragon 805, you simply can. In other cases, the manufacturer chose to block the naïve approach, but the native camera app knows how to do it, and, with some reverse engineering effort, you can reproduce their approach (I had partial success with Samsung S4 before I lost interest in that project).

但是在大​​多数可用的手机上,有一个物理限制:两个相机共享相同的总线,不能同时打开,无论多么巧妙你在软件。

But on most of available phones, there is a physical restriction: the two cameras share the same bus, and cannot be opened simultaneously, no matter how skillful you are in software.

这篇关于前置摄像头和后置摄像头同时打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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