• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<HTML>
2<BODY>
3Provides access to Near Field Communication (NFC) functionality, allowing applications to read
4NDEF message in NFC tags. A "tag" may actually be another device that appears as a tag.
5
6<p>Here's a summary of the classes:</p>
7
8<dl>
9  <dt>{@link android.nfc.NfcManager}</dt>
10  <dd>This is the high level manager, used to obtain this device's {@link android.nfc.NfcAdapter}. You can
11acquire an instance using {@link android.content.Context#getSystemService}.</dd>
12  <dt>{@link android.nfc.NfcAdapter}</dt>
13  <dd>This represents the device's NFC adapter, which is your entry-point to performing NFC
14operations. You can acquire an instance with {@link android.nfc.NfcManager#getDefaultAdapter}, or
15{@link android.nfc.NfcAdapter#getDefaultAdapter(android.content.Context)}.</dd>
16  <dt>{@link android.nfc.NdefMessage}</dt>
17  <dd>Represents an NDEF data message, which is the standard format in which "records"
18carrying data are transmitted between devices and tags. Your application can receive these
19messages from an {@link android.nfc.NfcAdapter#ACTION_TAG_DISCOVERED} intent.</dd>
20  <dt>{@link android.nfc.NdefRecord}</dt>
21  <dd>Represents a record, which is delivered in a {@link android.nfc.NdefMessage} and describes the
22type of data being shared and carries the data itself.</dd>
23</dl>
24
25<p class="note"><strong>Note:</strong>
26Not all Android-powered devices provide NFC functionality.</p>
27</BODY>
28</HTML>
29