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.
- connect scanner
- go settings > language & input
- select default or current keyboard android 4.x , 5.x, respectively
- turn
hardware physical keyboard
off (4.x) orshow 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
Post a Comment