List of usage examples for android.nfc.tech NfcV get
public static NfcV get(Tag tag)
From source file:de.berlin.magun.nfcmime.core.RfidDAO.java
/** * @param tag Tag/*w w w . j a v a 2 s .com*/ * @return a hexadecimal String representation of a Tag's ID or UID */ public String getTagId(Tag tag) { // get the ID byte array byte[] id = tag.getId(); if (NfcV.get(tag) != null) { ArrayUtils.reverse(id); } return new String(Hex.encodeHex(id)); }