title: How to hide soft keyboard and keep input on focus
body: <p>I have a page for a barcode scanner(honeywell ct50) running Android 4.4.4,
  The soft keyboard pops up automatically as input textbox is on focus.
  Is there any solution to hide it?
  I have read suggestions, mostly making the input losing focus or being readonly,
  but I need to keep the focus on the input to read the barcode.</p>
  
  <p>I tried 
  1. to execute event.preventDefault() in onfocus event, it doesn't work.
  2. to get the barcode on document.keypress(), the solution in the post as below, but nothing got from my scanner.
  <a href="https://stackoverflow.com/questions/41979445/javascript-hide-mobile-default-keyboard-but-keep-input-field-active">javascript - hide mobile default keyboard but keep input field active</a></p>
  
  <p>Any ideas are welcome.</p>