Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public final class

NfcManager

extends Object
java.lang.Object
   ↳ android.nfc.NfcManager

Class Overview

High level manager used to obtain an instance of an NfcAdapter .

Use getSystemService(java.lang.String) with NFC_SERVICE to create an NfcManager , then call getDefaultAdapter() to obtain the NfcAdapter .

Alternately, you can just call the static helper getDefaultAdapter(android.content.Context) .

Developer Guides

For more information about using NFC, read the Near Field Communication developer guide.

Summary

Public Methods
NfcAdapter getDefaultAdapter ()
Get the default NFC Adapter for this device.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public NfcAdapter getDefaultAdapter ()

Get the default NFC Adapter for this device.

Returns
  • the default NFC Adapter