Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to take photo with front and rear camera simultaneously? [duplicate]

Tags:

android

I'm trying to make an app that takes a picture using the front and the rear camera in one picture.

This is kinda how it would look.

enter image description here

I've read http://developer.android.com/reference/android/hardware/Camera.html and searched and really couldn't find anything on the subject but I know I saw on the app store of other apps like this.

like image 600
user3242728 Avatar asked Feb 14 '14 04:02

user3242728


People also ask

Can we use both camera at same time?

Get Dual Camera app: Front and Back from Android PlayStore Once downloaded follow these steps: Tap on the camera icon at the centre. Choose the layout in which you want to shoot the video, and select video quality. The final step is just tapping on the record button.

How do you take a picture with dual camera?

Tap and drag the front camera image to move it anywhere on the screen. Tap the camera icon to capture your image.


1 Answers

Mostly it depends on the hardware of the device and most of the devices now do not allow use of both cameras simultaneously. Even if some device will be able to use both cameras, if you want to make application that runs flawlessly on as much devices as possible (and this is what you want) you should not implement this solution. Google says:

In order for your application to be compatible with more devices, you should not make assumptions about the device camera specifications

What you can do, and it depends on the application you are writing is to periodically take pictures once with the front camera and the second time with the back camera.

like image 96
MikeL Avatar answered Oct 28 '22 19:10

MikeL