After consulting a lot of threads on stackoverflow, I still have not found a working "example" for reading/writing MiFare Ultralight or Classic NFC cards using a ACS ACR122 Usb smart card reader in a Java Application... Sure, I tried to consult the documentation of NXP or ACS but still did not manage to "simply" read/write a block of data.
There are a lot of Android-specific libraries out there, but not any plain old J2SE libraries that simplify MiFare communication (using the javax.smartcardio and APDU commands...)
Can anyone give me some real good and usefull pointers:
- using APDU command for MiFare Ultralight & classic
- (help me develop) a J2SE library that removes the complexity of all HEX commands that are sent to/from card
- examples to be used on these cards (Ultralight / Classic) ...
Any help is greatly appriciated.
Development is done with:
- ACS acr122U NFC reader
- Linux platform using PC/SC lite libraries
- MiFare Ultralight and Classic 1K/4K 7UID cards
- Java SDK 1.6+ and higher
- Android 4.4.x phone with NFC (e.g. Huwawei ...)