Back to project page android-nfc-reader.
The source code is released under:
MIT License
If you think the Android project android-nfc-reader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.mklbravo.lib.nfcreader; //from w ww .j av a 2 s . c o m import android.nfc.Tag; import net.mklbravo.lib.nfcreader.contracts.TagTech; import net.mklbravo.lib.nfcreader.readers.MifareClassicReader; import net.mklbravo.lib.nfcreader.tags.MifareClassicTag; public class NFCReader { public static MifareClassicReader MifareClassic(Tag androidTag){ if(TagTech.isMifareTag(androidTag)) return new MifareClassicReader(androidTag); else return null; } }