All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.nfc.package.html Maven / Gradle / Ivy

Go to download

A library jar that provides APIs for Applications written for the Google Android Platform.

There is a newer version: 14-robolectric-10818077
Show newest version


Provides access to Near Field Communication (NFC) functionality, allowing applications to read NDEF message in NFC tags. A "tag" may actually be another device that appears as a tag.

For more information, see the Near Field Communication guide.

{@more}

Here's a summary of the classes:

{@link android.nfc.NfcManager}
This is the high level manager, used to obtain this device's {@link android.nfc.NfcAdapter}. You can acquire an instance using {@link android.content.Context#getSystemService}.
{@link android.nfc.NfcAdapter}
This represents the device's NFC adapter, which is your entry-point to performing NFC operations. You can acquire an instance with {@link android.nfc.NfcManager#getDefaultAdapter}, or {@link android.nfc.NfcAdapter#getDefaultAdapter(android.content.Context)}.
{@link android.nfc.NdefMessage}
Represents an NDEF data message, which is the standard format in which "records" carrying data are transmitted between devices and tags. Your application can receive these messages from an {@link android.nfc.NfcAdapter#ACTION_TAG_DISCOVERED} intent.
{@link android.nfc.NdefRecord}
Represents a record, which is delivered in a {@link android.nfc.NdefMessage} and describes the type of data being shared and carries the data itself.

Note: Not all Android-powered devices provide NFC functionality.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy