title: Check if device has a camera?
body: <p>In my app, I'd like to use the camera, if the device has one. Are there any devices running android that <em>do not</em> have a camera? By including the following into my manifest:</p>
  
  <pre><code>&lt;uses-feature android:name="android.hardware.camera" android:required="false"/&gt;
  </code></pre>
  
  <p>then it's basically saying "I'll use a camera if one exists, but don't need one to run the app". </p>
  
  <p>How could I check if a camera exists on the device, before attempting to use the Camera class?</p>