bluetooth - How to integrate Socket Mobile Scanner with Android App -


i trying use socket mobile bluetooth scanner scan labels on product. need integrate scanner within android app when scanner connected keyboard not hide. in short, need connect scanner in spp mode instead of hid mode keyboard not auto-hide/appear on device connect-disconnect.

how can integrate socket mobile's chs android code? tried sample app provided socketapi sdk getting error eskt_unableopendevice (number -27) & after few seconds getting error eskt_nothingtolisten (number -47).

i need connect scanner in spp mode instead of hid mode keyboard not auto-hide/appear on device connect-disconnect

you not need use spp mode in order display keyboard while scanner connected.

  1. connect scanner
  2. go settings > language & input
  3. select default or current keyboard android 4.x , 5.x, respectively
  4. turn hardware physical keyboard off (4.x) or show input method on (5.x)

now virtual keyboard wont auto-hide/show on connect/disconnect

for eskt_unableopendevice , eskt_nothingtolisten you'll have edit question provide complete stacktrace


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -