Datawedge doesn't send KeyCodes. It sends ASCII characters.
So the only way of capturing the data seems to be the oninput event.
The keydown and keypress events apparently don't return anything meaningful.
I am an Indian Developer developing an Android application
Regarding your query, Am here in the discussion that I'm also facing the same issue. My basic issue is when I press scanning button in Zebra TC20 I am not being able to get the result of barcode. so I just changed the key event to try for my client but after changing the key press to ENTER, It is clicking another button of my application. So can you please please help me out that which button is pressed for scanning or we can change it from any setting?
I would be grateful if you could help me on this.
Hi, the enter key in the original post is there to submit the data, not resolve the issue of not receiving data. Per Andreas, if you use the oninput event it would work (though this event cannot be attached to every DOM element) - if possible, have your keystroke data being received into a text field. For more information about DataWedge, please see the techdocs page, About DataWedge - Zebra Technologies TechDocs .