title: Camera.open() is not working android
body: <p>I am trying to write a custom camera application in android.
  For that I need to open the camera application.</p>
  
  <p>for that i am tring following code..</p>
  
  <blockquote>
    <p>Camera camera = Camera.open();</p>
  </blockquote>
  
  <p>but is showing error like </p>
  
  <blockquote>
    <p>method open undefined for type Camera</p>
  </blockquote>
  
  <p>i did as suggested here <a href="http://developer.android.com/reference/android/hardware/Camera.html#open(int)" rel="noreferrer">http://developer.android.com/reference/android/hardware/Camera.html#open(int)</a></p>
  
  <p>any suggestion..</p>
  
  <p>Thanks,
  Ravindra Gupta</p>