I have a generic credit card reader that is detected as a USB keyboard. I tested it out by simply using a text view to capture the text.
I was wondering if there what would be the best of of implementing it so you do not need an active text field (e.g. capture generic keyboard events through console input stream buffers like what I use in the desktop version of the card reader):
Console console = System.console();
String inputData = new String (console.readPassword());