I am working on a project where we are developing an Android app to read data from an RFID chip in an USB. The Android app works fine, reads the RFID data when the USB(with the RFID chip) is connected to the Android device. But I want to test the app when the Android device is connected to the PC, and mock the USB data(RFID data) from the PC. Is it possible? Has anyone tried this?
Thank you
Asked
Active
Viewed 413 times
1

Gadenkan
- 1,691
- 2
- 17
- 29
-
This seems to be more about writing USB driver or re-using some on PC but not about Android. – pmod Feb 26 '13 at 21:36
-
By using umockdev , it is possible to mock usb devices http://stackoverflow.com/a/43917318/6180077 – Abdullah Farweez May 12 '17 at 04:11