Home | History | Annotate | Download | only in tech

Lines Matching refs:tag

20 import android.nfc.Tag;
28 * Provides access to NFC-A (ISO 14443-3A) properties and I/O operations on a {@link Tag}.
38 private static final String TAG = "NFC";
49 * Get an instance of {@link NfcA} for the given tag.
50 * <p>Returns null if {@link NfcA} was not enumerated in {@link Tag#getTechList}.
51 * This indicates the tag does not support NFC-A.
54 * @param tag an NFC-A compatible tag
57 public static NfcA get(Tag tag) {
58 if (!tag.hasTech(TagTechnology.NFC_A)) return null;
60 return new NfcA(tag);
67 public NfcA(Tag tag) throws RemoteException {
68 super(tag, TagTechnology.NFC_A);
69 Bundle extras = tag.getTechExtras(TagTechnology.NFC_A);
75 * Return the ATQA/SENS_RES bytes from tag discovery.
86 * Return the SAK/SEL_RES bytes from tag discovery.
97 * Send raw NFC-A commands to the tag and receive the response.
103 * manage tag polling and initialization).
116 * @throws TagLostException if the tag leaves the field
138 * transactions that require a long processing time on the tag
152 Log.e(TAG, "NFC service dead", e);
167 Log.e(TAG, "NFC service dead", e);