title: How to Open camera on more then one ImageView on Same Activity
body: <p>I have multiple imageView on my layout, want to open the camera on all Imageview simultaneously. and involve a timer of friction second. so user will move his device and photo will capture and show on ImageView one by one on click "start capture" button. Like camera will open simultaneously and first imageview will capture photo and it will show it on that imageview then on second imageView will capture photo on next 2 second and show on this imageviewand so on....</p>
  
  <p>I have already applied take picture by default camera by passing intent and it will open camera on another screen and capture photo will save in sdcard then we pic image and after resizing will save on that particular imageView so please don't tell me to apply this way. I don't want this. What i want i mentioned above.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I have used camera API for this task, following code i applied </p>
  
  <pre><code>  @Override
     protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_live_cam);
        pic = (ImageView)findViewById(R.id.imageView1);
        cameraObject = isCameraAvailiable();
        showCamera = new ShowCamera(this, cameraObject);
        RelativeLayout preview = (RelativeLayout) findViewById(R.id.camera_preview);
        preview.addView(showCamera);
     }
  </code></pre>
  
  <p>Here ShowCamera is my class where i have implements SurfaceHolder.Callback .and write all camera related operations.I have added camera on Relative layout. Its working fine but I want to open camera and perform all operations on ImageView. What tricks should i apply here to do this. Please help..</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Can we open camera on multiple ImageView simultaneously like ios. Can we get different camera image frames or preview and set them on different ImageView. So that user can feel that multiple camera are opened simultaneously. </p>
  
  <p>I am using this link
  <a href="https://stackoverflow.com/questions/16843688/fliping-the-front-camera-to-back-camera-in-button-click-using-android#comment31107025_16843688">Fliping the Front Camera to Back Camera in Button Click using android</a></p>
  
  <p>By this i am able to open camera and switch camera from back to front. But in this question i don't get the xml layout file. I am not getting that how to open camera on different imageView. </p>
  
  <p>But by the same id how to handle it with different imageView. </p>