blob: 97bb29d10a8fe8739753b95a4ffa0a1de73cc7f0 [file] [log] [blame]
Scott Mainc9f78902010-10-15 09:15:09 -07001<HTML>
2<BODY>
Nick Pelly11b075e2010-10-28 13:39:37 -07003Provides 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.
Scott Mainc9f78902010-10-15 09:15:09 -07005
6<p>Here's a summary of the classes:</p>
7
8<dl>
Nick Pelly50b4d8f2010-12-07 22:40:28 -08009 <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>
Scott Mainc9f78902010-10-15 09:15:09 -070012 <dt>{@link android.nfc.NfcAdapter}</dt>
13 <dd>This represents the device's NFC adapter, which is your entry-point to performing NFC
Nick Pelly50b4d8f2010-12-07 22:40:28 -080014operations. You can acquire an instance with {@link android.nfc.NfcManager#getDefaultAdapter}, or
15{@link android.nfc.NfcAdapter#getDefaultAdapter(android.content.Context)}.</dd>
Scott Mainc9f78902010-10-15 09:15:09 -070016 <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
Nick Pelly11b075e2010-10-28 13:39:37 -070019messages from an {@link android.nfc.NfcAdapter#ACTION_TAG_DISCOVERED} intent.</dd>
Scott Mainc9f78902010-10-15 09:15:09 -070020 <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>