Does the Samsung Gear S3 Classic or Frontier support the NFC Tag Library? When executing the code below, I get a “Tag not supported” exception. I have NFC enabled in the settings and the nfc.common and nfc.tag priveleges enabled in the manifest.
try
{
// get default adapters
nfcAdapter = tizen.nfc.getDefaultAdapter();
listeners =
{
onattach: function(nfcTag)
{
alert("NFC Tag's type is " + nfcTag.type);
console.log("NFC Tag's type is " + nfcTag.type);
},
ondetach: function()
{
console.log("NFC Tag is detached");
alert("NFC Tag is detached");
}
};
nfcAdapter.setTagListener(listeners);
}
catch (e) {
alert(e.message);
console.log(err.name + ": " + err.message);
}
} () );
Gear S3 NFC Tag Support
Does the Samsung Gear S3 Classic or Frontier support the NFC Tag Library? When executing the code below, I get a “Tag not supported” exception. I have NFC enabled in the settings and the nfc.common and nfc.tag priveleges enabled in the manifest.
try { // get default adapters nfcAdapter = tizen.nfc.getDefaultAdapter(); listeners = { onattach: function(nfcTag) { alert("NFC Tag's type is " + nfcTag.type); console.log("NFC Tag's type is " + nfcTag.type); }, ondetach: function() { console.log("NFC Tag is detached"); alert("NFC Tag is detached"); } }; nfcAdapter.setTagListener(listeners); } catch (e) { alert(e.message); console.log(err.name + ": " + err.message); } } () );BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio