Corrected NFC guide
authorJihoon Jung <jh8801.jung@samsung.com>
Mon, 14 Sep 2015 06:46:46 +0000 (15:46 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Mon, 14 Sep 2015 06:47:05 +0000 (15:47 +0900)
Signed-off-by: Ji-hoon Jung <jh8801.jung@samsung.com>
Change-Id: I2a550abe8b8239301c34379d3883f7a8e41eb385

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

index 53c4604..8f2d3f5 100644 (file)
@@ -957,10 +957,12 @@ int main(int argc, char* argv[])
 </pre>
 <p>The following example shows the NFC application control code:</p>
 <pre class="prettyprint">
+#define NFC_APPCONTROL_STRING "http://tizen.org/appcontrol/operation/nfc/card_emulation/host_apdu_service"
+
 bool 
 service_app_control(app_control_h service, void *data)
 {
-&nbsp;&nbsp;&nbsp;struct _appdata *ad = user_data;
+&nbsp;&nbsp;&nbsp;struct _appdata *ad = data;
 &nbsp;&nbsp;&nbsp;char *operation, *aid;
 &nbsp;&nbsp;&nbsp;int ret = 0;
 
@@ -1099,4 +1101,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga
 </script>
 
  </body>
-</html>
\ No newline at end of file
+</html>