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.tags; /*from w w w . j a v a 2s . c o m*/ import net.mklbravo.lib.nfcreader.utils.Converter; public class AbstractTag { public AbstractTag(byte[] pTagId){ byteId = pTagId; } private byte[] byteId; public byte[] getByteId(){return byteId; } private String id; public String getId(){ if(id == null && byteId != null) id = Converter.byteArrayToHexString(byteId); return id; } public boolean isEmptyTag(){ return byteId == null; } }