html5 - HTML Input file type using only camera option on Android devices -


the issue regarding android device lg g2 android version 4.4.2 , default browser.

i using following tag upload image user device server:

  {<input type="file" accept="image/*;” />} 

when clicking on input getting 2 options: camera , document.

is there way show camera option ?

thank all, moshe s.

you must add capture attribute within input tag such: capture="camera" or capture='camera'

note: has been tested html5.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -