title: How to turn on the Android Flashlight
body: <p><strong>Update</strong></p>
  
  <p>Check out my answer</p>
  
  <p><strong>Original</strong></p>
  
  <p>I'm trying to turn on the camera flashlight on the LG Revolution within my program.  I use the torch mode method which works on most phones but not on LG phone.  Does anyone know how to get it to work on LG's or specifically the Revolution?</p>
  
  <p>Here's my manifest:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.CAMERA" /&gt;
  &lt;uses-feature android:name="android.hardware.camera" /&gt;
  &lt;uses-permission android:name="android.permission.FLASHLIGHT"/&gt;
  </code></pre>
  
  <p>Here's my current code:</p>
  
  <pre><code>public Camera camera = Camera.open();
      public Camera.Parameters Flash = camera.getParameters();
  </code></pre>
  
  <p>With my on create:</p>
  
  <pre><code>            Flash.setFlashMode("torch");
              Parameters p = camera.getParameters();
              camera.setParameters(Flash);
              camera.startPreview();
  </code></pre>
  
  <p>I've seen people use an auto focus but i don't know if that would work.</p>