title: android studio doesn't accept camera.open();
body: <p>I want to add flashlight feature to my application. It will flash with a pattern. every code I found is like </p>
  
  <pre><code>camera.open();
  </code></pre>
  
  <p>but android studio doesn't accept </p>
  
  <pre><code>.open 
  </code></pre>
  
  <p>part. What should I do?</p>