Android support for Torch Mode
<p>I've tried looking around for a particular answer to this question but can't find it. Hopefully someone here can help!</p>

<p>I'm trying to get Torch mode to work on all phones (The main problems seem to be Droid X, LG Ally etc.) but can't get it to work for everyone.</p>

<p>I set the Torch mode like this:</p>

<pre><code>mParameters = mCamera.getParameters();
mParameters.setFlashMode(Camera.Parameters.FLASH_MODE_TORCH);
mCamera.setParameters(mParameters);
</code></pre>

<p>This seems to work for most phones but not some. I've since implemented a check like this:</p>

<pre><code>if(mCamera.getParameters().getFlashMode() != null){ ... Set Torch ... }
else { Toast: "Unsupported Phone"; }
</code></pre>

<p>(That's the short hand version)...</p>

<p>Any ideas? Thanks a lot!</p>
