Skip to content

Most visited

Recently visited

navigation

NfcManager

public final class NfcManager
extends Object

java.lang.Object
   ↳ android.nfc.NfcManager


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.

See also:

Summary

Public methods

NfcAdapter getDefaultAdapter()

Get the default NFC Adapter for this device.

Inherited methods

From class java.lang.Object

Public methods

getDefaultAdapter

Added in API level 10
NfcAdapter getDefaultAdapter ()

Get the default NFC Adapter for this device.

Returns
NfcAdapter the default NFC Adapter
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.