We are developing a Fiori Mobile Kapsel application for Android devices. Users have a bluetooth barcode scanner (laser, not camera) which acts like a keyboard, and we need to listen to keydown events to run a search function without the user having to press on an input field.
When running in the browser using the bluetooth scanner, document.addEventListener("keydown", myFunction, false); works as expected. But when built and running on a device the event listener does not work. Is there another object we can attach the event listener to that will work in a Kapsel application?