问题
Read a mifare 1k card through my web application which is connected to local system which is browsing my web application. The reader I am using is ACR122U NFC Tag reader. I got sample code for window application to access the reader and read the UID of NFC tag. but I want to read the value in my Web site. Work flow is:
- My web site page is opened in a browser of a machine. That page has a button "Read UID".
- After clicking of this button I want to read the NFC Tag UID through ACR122U NFC Tag reader which is connected to this user.
I searched for C# code but C# code can't access local resources. I got two suggestions:
- java applet
- ActiveX object.
So anybody can give me the code of java applet which can I use or can suggest another way to do what I want to do.
回答1:
NFC Tools for Java has what you are looking for - a live applet with source code.
来源:https://stackoverflow.com/questions/13563105/how-to-read-a-mifare-1k-card-through-acr122u-nfc-tag-reader-connected-to-local-m