Android: how to check the flash light is available on device?
<p>How I check the flash light available on device?also want to know how can I On/Off the flash light?
  I have put the code but not working right now?
  I search out this <br/>
        <a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/com/android/server/LightsService.java#LightsService" rel="nofollow">http://gitorious.org/rowboat/frameworks-base/commit/eb9cbb8fdddf4c887004b20b504083035d57a15f</a><br/>
<a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/com/android/server/LightsService.java#LightsService" rel="nofollow">http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/com/android/server/LightsService.java#LightsService</a></p>

<p>Please can tell which I should use?<br/>
Thank You.</p>
