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:
<div class="takePhoto">
<form id="take" action="" method="POST">
<input type="file" id= "cap" name="personalPhoto" accept="image/*" capture ="camera" id="camera"><p>
</form>
</div>
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.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!