blob: 55c1d1650aa915748cd0d5473a0965b94eed8605 [file] [log] [blame]
Scott Mainc9f78902010-10-15 09:15:09 -07001<HTML>
2<BODY>
Joe Fernandez3aef8e1d2011-12-20 10:38:34 -08003<p>Provides 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.</p>
5
6<p>For more information, see the
Scott Main9be01052012-06-22 12:35:08 -07007<a href="{@docRoot}guide/topics/connectivity/nfc/index.html">Near Field Communication</a> guide.</p>
Joe Fernandez3aef8e1d2011-12-20 10:38:34 -08008{@more}
Scott Mainc9f78902010-10-15 09:15:09 -07009
10<p>Here's a summary of the classes:</p>
11
12<dl>
Nick Pelly50b4d8f2010-12-07 22:40:28 -080013 <dt>{@link android.nfc.NfcManager}</dt>
14 <dd>This is the high level manager, used to obtain this device's {@link android.nfc.NfcAdapter}. You can
15acquire an instance using {@link android.content.Context#getSystemService}.</dd>
Scott Mainc9f78902010-10-15 09:15:09 -070016 <dt>{@link android.nfc.NfcAdapter}</dt>
17 <dd>This represents the device's NFC adapter, which is your entry-point to performing NFC
Nick Pelly50b4d8f2010-12-07 22:40:28 -080018operations. You can acquire an instance with {@link android.nfc.NfcManager#getDefaultAdapter}, or
19{@link android.nfc.NfcAdapter#getDefaultAdapter(android.content.Context)}.</dd>
Scott Mainc9f78902010-10-15 09:15:09 -070020 <dt>{@link android.nfc.NdefMessage}</dt>
21 <dd>Represents an NDEF data message, which is the standard format in which "records"
22carrying data are transmitted between devices and tags. Your application can receive these
Nick Pelly11b075e2010-10-28 13:39:37 -070023messages from an {@link android.nfc.NfcAdapter#ACTION_TAG_DISCOVERED} intent.</dd>
Scott Mainc9f78902010-10-15 09:15:09 -070024 <dt>{@link android.nfc.NdefRecord}</dt>
25 <dd>Represents a record, which is delivered in a {@link android.nfc.NdefMessage} and describes the
26type of data being shared and carries the data itself.</dd>
27</dl>
28
29<p class="note"><strong>Note:</strong>
30Not all Android-powered devices provide NFC functionality.</p>
Joe Fernandez3aef8e1d2011-12-20 10:38:34 -080031
Scott Mainc9f78902010-10-15 09:15:09 -070032</BODY>
33</HTML>