On our handheld scanners we need to open the camera and the picture taken needs to be captured and saved in our database.
They need to scan first ordernumber, Then next page some text
Then next page should appear the 'Take Photo'-image button and the 'Upload to database' button.
I know I can open the camera with
<input type="file" accept="image/*" capture="camera" >
but how can I combine this with an imagebutton
<td class="auto-style1" colspan="2">
<asp:ImageButton ID="BtnCamera" runat="server" ImageUrl="~/Images/Happy.gif" Text="CAMERA" Height="53px" Visible="False" />
<asp:Button ID="UploadButton" runat="server" Text="Upload en koppel foto" Height="53px" Visible="False" />
</td</tr>
How can I get the btnCamera imagebutton to open the camera ?
Private Sub btnCamera_Click(sender As Object, e As ImageClickEventArgs ) Handles btnCamera.Click
MsgBox ("CAMERA")
End Sub
And with the UploadButton clicked it needs to get the photo and put it on harddrive.
Thank you for your help
Sabrina