Skip to Content

Normal event listeners in Kapsel application don't work

Sep 20, 2017 at 06:08 AM


avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers