title: Is that possible to take 3 photos with different exposure compensation on Android?
body: <p>Below is my code:</p>
  
  <pre><code>private void takeMultiPictures(final int n) {
      if (n &lt;= 0) {
          ToastUtils.show("Capture Successfully!");
          saveMultiPictures();
          return;
      }
      Parameters params = mCamera.getParameters();
      int mic = params.getMinExposureCompensation();
      int mac = params.getMaxExposureCompensation();
      switch (n) {
      case 3:
          params.setExposureCompensation(mac);
          break;
      case 2:
          params.setExposureCompensation(mic);
          break;
      case 1:
          params.setExposureCompensation(0);
          break;
      }
      mCamera.setParameters(params);
      mCamera.takePicture(null, null, null, new PictureCallback() {
          @Override
          public void onPictureTaken(byte[] data, Camera camera) {
              mMultiPictures.add(data);
              mCamera.startPreview();
              takeMultiPictures(n - 1);
          }
      });
  }
  </code></pre>
  
  <p>By this code, the camera will take 3 pictures, but the results are not stable. </p>
  
  <p>The First Photo
  <img src="https://i.stack.imgur.com/yU84E.jpg" alt="First photo"></p>
  
  <p>The Second Photo
  <img src="https://i.stack.imgur.com/D0yEF.jpg" alt="Second photo"></p>
  
  <p>The Thrid Photo
  <img src="https://i.stack.imgur.com/jWaoy.jpg" alt="Third photo"></p>
  
  <p>My device is Galaxy Nexus, the exposure compensation values supported are from -2 to 2.</p>