We have a USB barcode scanner that emulates a HID that we've connected to 
an Android 4.0.3 "Generic"/No name  tablet via USB OTG . We've verified 
that the tablet does receive scans.

Now we have to write our own app to handle the scans and we were wondering 
how the app would read the input from the scanner.

The barcode scanner beeps  to confirm that  it has read a code  so we don't 
need an EditText or similar widget to echo the barcode value on the screen. 
Our app will do a lookup based on the code provided and display more 
details 

We've connected this barcode scanner to a linux box in the past and were 
able to open the low level "/dev/... " corresponding to the HID in 
exclusive mode to get the data.   This  gave our app exclusive access to  
the data from the  scanner. 

What do  we have to do in Android to read the scanner data  ?  Thks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to