Is that possible to open and preview back-facing and front-facing camera at same time?

According to Android Camera Api Your application should only have one Camera object active at a time for a particular hardware camera So I guess it should not be possible.

According to Android Camera Api, Your application should only have one Camera object active at a time for a particular hardware camera. So I guess it should not be possible.

Camera = Camera. // Look for front-facing camera, using the Gingerbread API. // Java reflection is used for backwards compatibility with pre-Gingerbread APIs.

> cameraClass = Class. Method getNumberOfCamerasMethod = cameraClass. If ( getNumberOfCamerasMethod!

CameraCount = (Integer) getNumberOfCamerasMethod. > cameraInfoClass = Class. If ( cameraInfoClass!

If ( cameraInfo! Field = cameraInfo.getClass(). Method getCameraInfoMethod = cameraClass.

GetMethod( "getCameraInfo", Integer. If ( getCameraInfoMethod! = null && cameraInfoClass!

= null && field! Int facing = field. If ( facing == 1 ) { // Camera.CameraInfo.

Method cameraOpenMethod = cameraClass. GetMethod( "open", Integer. If ( cameraOpenMethod!

//camera = (Camera) cameraOpenMethod. E("TestLedActivity", "Camera failed to open: " + e. // Ignore the bevy of checked exceptions the Java Reflection API throws - if it fails, who cares.

Catch ( ClassNotFoundException e ) {Log.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions