Camera capture using Html5 input tag
html, javascript
Solution
<input type="file" name="file" accept="image/*" capture="camera" />
Works in Chrome on Android (at least).
Problem
I am using the below line of code in order to invoke camera from my web application. ``` <input type="file" id="capture" accept="image/*; capture=camera" style="visibility:hidden;"> ``` Using this, I am able to get the pop up with options of "Choose existing photo" and "Take Picture", when the application is opened in iOS6. But I want to open up camera capture directly rather then getting this pop up and then select "Take Picture" option. Thanks in advance.