Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)

Hide keyboard when clicking on an input field

Is there a way to hide the keyboard when an input field is selected? I'm using an android device with a barcode scanner. When the focus is on the input field, I want the keyboard to stay hidden.

1 Comment

Hi Rex

To close the keyboard you can use sap.m.closeKeyboard(); or you can use other keyboard plugin in phonegap.build.

What device are you using ?

There is other possibilities depending on your device. For Motorola devices we have used a DataWedge plugin, so no focus in the field is required. This gives you an API controlled event handling and the datatransfer from scanner to your App will be a lot faster.


Ole Andre 

Login or Signup to post a comment