title: Android: Image taken by custom camera is too dark
body: <p>In my app I must take photo with custom activity. I implement all functionality and can save my photos, but in some devices they are too dark. I have this code, but it doesn't help me</p>
  
  <pre><code>            Parameters params = mCamera.getParameters();
              if (params.getSupportedWhiteBalance().contains(
                      Parameters.WHITE_BALANCE_AUTO)) {
                  params.setWhiteBalance(Parameters.WHITE_BALANCE_AUTO);
                  Log.d(TAG, "white balance auto");
              }
              if (params.getSupportedFlashModes().contains(
                      Parameters.FLASH_MODE_AUTO)) {
                  params.setFlashMode(Parameters.FLASH_MODE_AUTO);
                  Log.d(TAG, "flash mode auto");
              }
              if (params.getSupportedSceneModes().contains(
                      Parameters.SCENE_MODE_AUTO)) {
                  params.setSceneMode(Parameters.SCENE_MODE_AUTO);
                  Log.d(TAG, "scene mode auto");
              }
              mCamera.setParameters(params);
  </code></pre>
  
  <p>In Logcat I see, that all params can be setted to AUTO.</p>
  
  <p>I checked it in Samsung Galaxy II, and it works perfect, but in some LG phone I even can't an image, because it's too dark. Photos, taken by standart camera app and Facebook camera app looks perfect, so it can be done.</p>
  
  <p>Sorry for my English=)</p>