Searched refs:mNfcAdapter (Results 1 – 5 of 5) sorted by relevance
44 private NfcAdapter mNfcAdapter; field in NdefPushSenderActivity57 mNfcAdapter = nfcManager.getDefaultAdapter(); in onCreate()74 if (!mNfcAdapter.isEnabled()) { in onResume()76 } else if (!mNfcAdapter.isNdefPushEnabled()) { in onResume()81 mNfcAdapter.setNdefPushMessageCallback(this, this); in onResume()
44 private NfcAdapter mNfcAdapter; field in LlcpVersionActivity59 mNfcAdapter = nfcManager.getDefaultAdapter(); in onCreate()76 if (!mNfcAdapter.isEnabled()) { in onResume()78 } else if (!mNfcAdapter.isNdefPushEnabled()) { in onResume()83 mNfcAdapter.setNdefPushMessageCallback(this, this); in onResume()
45 private NfcAdapter mNfcAdapter; field in NdefPushReceiverActivity61 mNfcAdapter = nfcManager.getDefaultAdapter(); in onCreate()70 if (!mNfcAdapter.isEnabled()) { in onResume()77 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null); in onResume()83 mNfcAdapter.disableForegroundDispatch(this); in onPause()
74 private NfcAdapter mNfcAdapter; field in TagVerifierActivity103 mNfcAdapter = nfcManager.getDefaultAdapter(); in onCreate()127 if (!mNfcAdapter.isEnabled()) { in onResume()131 mNfcAdapter.enableForegroundDispatch(this, mPendingIntent, null, null); in onResume()137 mNfcAdapter.disableForegroundDispatch(this); in onPause()
51 private NfcAdapter mNfcAdapter; field in NfcTestActivity75 mNfcAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate()76 mNfcAdapter.setNdefPushMessage(getTestMessage(), this); in onCreate()84 mNfcAdapter.invokeBeam(NfcTestActivity.this); in onCreate()