Fix NFC document
authorJihoon Jung <jh8801.jung@samsung.com>
Mon, 11 May 2015 08:53:25 +0000 (17:53 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Mon, 11 May 2015 08:53:57 +0000 (17:53 +0900)
Signed-off-by: Ji-hoon Jung <jh8801.jung@samsung.com>
Change-Id: Ie7fdde6bbec5fc823ed70597cab53986ccf1682a

org.tizen.tutorials/html/native/network/nfc_tutorial_n.htm

index e09df13..fb5b07c 100644 (file)
@@ -352,7 +352,7 @@ if (NFC_ERROR_NONE != error_code) // Error occurred</pre>
 
 <ul class="ul"><li>Record ID by calling <span style="font-family: Courier New,Courier,monospace;">nfc_ndef_record_get_id()</span>
 
-<pre class="prettyprint">error_code = nfc_ndef_message_get_record(message, i, &amp;rec);
+<pre class="prettyprint">error_code = nfc_ndef_record_get_id(rec, &amp;id, &amp;id_len);
 if (NFC_ERROR_NONE != error_code) // Error occurred</pre></li>
 
 <li>Record type using the <span style="font-family: Courier New,Courier,monospace;">nfc_ndef_record_get_type()</span> function
@@ -709,4 +709,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga
 </script>
 
  </body>
-</html>
\ No newline at end of file
+</html>