cancel
Showing results for 
Search instead for 
Did you mean: 

Normal event listeners in Kapsel application don't work

former_member322772
Active Participant

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?

Accepted Solutions (0)

Answers (0)