Home | History | Annotate | Download | only in beamlargefiles

Lines Matching defs:nfc

21 import android.nfc.NfcAdapter;
22 import android.nfc.NfcEvent;
28 * This class demonstrates how to use Beam to send files too large to transfer reliably via NFC.
30 * <p>While any type of data can be placed into a normal NDEF messages, NFC is not considered
32 * Because NFC requires devices to be in extremely close proximity, this is not ideal.
34 * <p>Instead, Android 4.2+ devices can use NFC to perform an initial handshake, before handing
69 NfcAdapter nfc = NfcAdapter.getDefaultAdapter(a);
70 if (nfc != null) {
71 Log.w(TAG, "NFC available. Setting Beam Push URI callback");
72 nfc.setBeamPushUrisCallback(this, a);
74 Log.w(TAG, "NFC is not available");
85 * @param nfcEvent NFC event which triggered callback