Hi all.
I'm developing an app that would integrate a special functionality for
Android devices that support USB OTG connection.
Yesterday I tried with success to connect a PS2 mouse, and a PS2 keyboard
and a magnetic stripe reader to my SGS2 through a dual PS2 adapter to USB
into the USB to micro-USB conector (
http://www.dealextreme.com/p/micro-usb-on-the-go-host-otg-adapter-pair-50774).
Both the mouse and keyboard worked perfectly, it was quite nice. However the
mag-stripe reader read whatever if felt like in all the different
attemps (for those who don't know how this reader works, it is like a
barcode reader, it decodes the information and sends it into the computer as
if it was keyboard input).

The thing is that it should input 89 characters one after another and it is
not doing so. Maybe the problem is with the mobile input buffer. I really
don't know what the reason might be, but each time it reads the info it
shows different streams.

The correct one would be like this
%B5045211403024450070&FERREIRA DA SILVA&BEATRIZ FREIRE&52271&6&0&31765_
ñ5045211403024450070¿0000¿01_

However it shows a shorter string because some of the characters are stepped
over. Character encoding problem? I don't think so, I insist in the buffer
posibility. What do you think?

As always, I hope I've been clear enough and thanks in advance.



Saludos.-
______________________
Nicolás Mariano Obregón
[email protected]
<http://ar.linkedin.com/in/nmobregon>  <http://www.facebook.com/nmobregon>
 <http://www.facebook.com/nmobregon>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to