0

Does Samsung Tizen support native NFC app. I'd like a native app that sits on the watch to read scanned tag and do a data exchange ?

If it has to be done in html5, does it support NFC data exchange ?

j2emanue
  • 60,549
  • 65
  • 286
  • 456

3 Answers3

2

Does Samsung Tizen support native NFC app. I'd like a native app that sits on the watch to read scanned tag and do a data exchange ?

Yes it does. Please refer to the Wearable Native reference

To read a tag you should take a look at the TAG APIs. If you also want to perform data exchange then you should take a look at the Peer to Peer APIs.

If it has to be done in html5, does it support NFC data exchange ?

Similar functionality is supported using the web APIs. Take a look at the NFCTag and NFCPeer interfaces in the Web API reference.

A nice start (Native development) point could be to check the existing tutorials for NFC here.

Here you will find the tutorials for the web APIs.

IsaacCisneros
  • 1,953
  • 2
  • 20
  • 30
  • do you know any html tutorials for this ? – j2emanue Dec 14 '15 at 15:00
  • so NFC is done with javascript right ? im not doing native app as its too much work to learn, sticking with html for tizen wearable. The functions im seeing here: https://developer.tizen.org/dev-guide/2.4/org.tizen.tutorials/html/web/tizen/communication/nfc_tutorial_w.htm are javaScript right ? so I'll put them in my js folder right? – j2emanue Dec 14 '15 at 15:10
  • I have edited my answer with the examples for the web counterpart. – IsaacCisneros Dec 14 '15 at 15:16
  • Has anyone actually tested reading NFC tags with a wearable running Samsung Tizen? I'm asking because this compatibility list suggests that no wearable is actually supporting NFC tags: https://developer.samsung.com/galaxy-watch-develop/device-compatibility.html – flogy Jun 04 '20 at 08:00
2

The currently accepted answer is not correct. Both NFCTag and NFCPeer APIs are not supported on Samsung Gear devices.

Just SE (secure element) API - used for processing payments - is.

It's possible to verify that when registering for notifications callbacks as per the following guide. Functions nfc_manager_set_tag_discovered_cb and nfc_manager_set_p2p_target_discovered_cb returns NOT SUPPORTED.

The following SO questions mentions the same problem: NFC Tag not working on Gear S2

Community
  • 1
  • 1
cagnarrogna
  • 85
  • 1
  • 7
0

You can develop rich Web applications(HTML5) using NFC available on Samsung Gear S2. Yes it does support data exchange.

You can follow following links for more info

NFC Guide

NFC API Details

NFC Tutorial/Code

Refer this link for app Tizen Wearable Web Device API Reference.

Shreeram K
  • 1,719
  • 13
  • 22