title: How to open phone camera from HTML page?
body: <p>my android phone is connected to a web server through a webview. in my HTML I have a button to upload a photo. the user should have the choice to upload an image or take a photo from camera.
  my HTML code is:</p>
  
  <pre><code> &lt;div  class="takePhoto"&gt;
      &lt;form id="take" action="" method="POST"&gt; 
          &lt;input type="file" id= "cap" name="personalPhoto" accept="image/*" capture ="camera" id="camera"&gt;&lt;p&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>However when I click on the button the file chooser opens and I have the ability to choose images but not to use the camera. Any solution for this?</p>
  
  <p>P.S. in my code the word (capture) doesn't have a special style or color which I find weird and this might be the problem! </p>