是否有任何的API来获取,同时后排和前置摄像头的看法? [英] Is there any API to fetch both rear and front camera view at the same time?

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

问题描述

我有个要求,在一个单一的显示同时显示后部和前摄像机。是有可能同时显示两者。是否有任何的API来获取这两种观点在同一时间?

I have a requirement to show both rear and front camera in a single display. Is it possible to show both simultaneously. Is there any api to fetch both views at the same time?

推荐答案

同一个摄像头......只需双击。

Same as a single camera... Just double.

二SurfaceHolders,以及两个摄像头实例。

Two SurfaceHolders, and two Camera instances.

http://developer.android.com/reference/android/hardware/ Camera.html

这篇关于是否有任何的API来获取,同时后排和前置摄像头的看法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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