title: Take a picture in android HTML app with InAppBrowser or iFrame
body: <p>The scenario is as follows: I have a website with an input type file that works correctly in Android default browser, chrome and firefox. I'm using ionic to embed the website into an app and everything goes fine but taking picture. The thing I just can't understand is the option video recording works, even voice recording but not taking a photo...</p>
  
  <p>Till now I have tried with InAppBrowser where the button doesn't work at all, with an iframe which is the best approach allowing the user to select a file or to record a sound and with a plugin called Crosswalk WebView Engine, which allow me to record a video or to select an image but I just need the picture and can't find a way to do it.</p>
  
  <p>This is happening in all android versions I've found, 4.1.2, 5.0.2 and 6.</p>
  
  <p>I know there are some other threads out there about this topic but any of them have helped me.</p>
  
  <p>In the website part I've tried all kind of combinations I know:</p>
  
  <pre><code>&lt;input type="file" name="new-image"&gt;
  &lt;input type="file" name="new-image" accept="image/*"&gt;
  &lt;input type="file" name="new-image" accept="image/*;capture=camera"&gt;
  &lt;input type="file" name="new-image" accept="image/*" capture="camera"&gt;
  &lt;input type="file" name="new-image" capture="camera"&gt;
  </code></pre>
  
  <p>Even (out of desperation)</p>
  
  <pre><code>&lt;input type="file" name="new-image" accept="image/jpg;capture=camera"&gt;
  </code></pre>
  
  <p>Any help will be highly appreciated...</p>