Bads123
Bads123

Reputation: 919

Read Data from USB RFID Reader for Android

I am connecting USB RFID reader to Android Tablet using OTG cable. Data from RFID tag is directly written into notepad, but I can't access the device from Android code. RFID reader is not recognized as USB by app.

Anyone has faced similar problem. I need to get the data in Android app.

Upvotes: 4

Views: 7267

Answers (2)

Dhaval Patel
Dhaval Patel

Reputation: 648

After research I have found that USB RFID Reader which is Keyboard Interface type is going to work as Keyboard input interface device when attached to Android OS, and therefor not able to read using API. (This is the how RFID manufacture has design that type of Reader)

However there are Read & Write type of Read which can be read and write using API. Reader manufacture must have to provide API kit to in order to read/write data from Reader.

Upvotes: 5

Bads123
Bads123

Reputation: 919

Thanks for the input. I was trying to solve this problem from past few days.

I solved the problem by adding a edit text in my app and now the input from RFID reader directly comes into edit text.

Upvotes: 0

Related Questions