Home | History | Annotate | Download | only in nfc

Lines Matching refs:context

19 import android.content.Context;
24 * Use {@link android.content.Context#getSystemService(java.lang.String)}
25 * with {@link Context#NFC_SERVICE} to create an {@link NfcManager},
29 * {@link NfcAdapter#getDefaultAdapter(android.content.Context)}.
37 * @see Context#getSystemService
38 * @see NfcAdapter#getDefaultAdapter(android.content.Context)
46 public NfcManager(Context context) {
48 context = context.getApplicationContext();
49 if (context == null) {
51 "context not associated with any application (using a mock context?)");
54 adapter = NfcAdapter.getNfcAdapter(context);