Catch scanned barcode on CS4070 without a text input

A Adel Sari 3 years 6 months ago
4 3 0

Hi,
my scanner is paired correctly with an iPad and is emulating the virtual keyboard,
the problem is that, i have to put a text input in my page (it has to be focused too) to be able to get the scanned barcode,

is there any way to catch the scanned barcode on a page without a text input ?

i am using Rhomobile 4.x

thanks.

Please Register or Login to post a reply

3 Replies

K Kutir Mobility

Hi Adel
You may need to write your own Rhodes Extension for it as it is not directly (IMHO) supported in Rhodes.

The extension will interface with CS4070 via its SDK or some means and be able to detect barcode scan status and act upon it.

Thanks
Visnupriya R
Kutir Mobility

A Adel Sari

Hi Visnupriya,
thanks for your response, but CS4070 has no SDK, when connected via Bluetooth it emulates a keyboard (HID profile, the only profile supported by iPad).

E Efkan YILMAZ

If the scanner is using the HID profile, it will work like you are seeing, the device think it's a keyboard, so an input field must be in focus.

In the scanner doc, it mentions an alternative profile

Bluetooth MFi SPP - allows the scanner to connect to a serial port on iOS devices such as iPad and
iPhone.

You may be able to set the scanner to use that profile, then use the Bluetooth API's in Rho to talk to it.  I have not tried this though.

CONTACT
Can’t find what you’re looking for?