Hello,
i'm trying to develop a wearable application for the Galaxy Watch that emulate a nfc via HCE. I follow the step described inhttps://developer.tizen.org/development/guides/.net-application/connectivity-and-wireless/nfc#card_emulation but i always get an exception when trying to enable the Card Emulation ("Error: Specified method is not supported")
public static string EnableNfcCardEmulation() { try { NfcCardEmulationAdapter ceAdapter = NfcManager.GetCardEmulationAdapter(); ceAdapter.DisableCardEmulation(); ceAdapter.EnableCardEmulation(); NfcSecureElementCardEmulationMode ceMode = ceAdapter.GetCardEmulationMode(); if (ceMode == NfcSecureElementCardEmulationMode.On) { return ""; } else { return "EmulationMode is Off"; } } catch (Exception e) { return e.Message; //Console.WriteLine("Method throws the NotSupportedException, but Tizen supports the NFC operation"); } }
The wearable application can use the NfcCardEmulationAdapter?
Thanks