0

我遇到了 Tizen.NET Api v4 的问题。通常我需要在手表中进行cardemulation,但是在执行静态方法时

NfcManager.GetCardEmulationAdapter()

我正在获取日志

设备管理器

tizen-manifest.xml 看起来像(他是由 vs2019 和 Tizen ext 生成的) <?xml version="1.0" encoding="utf-8"?> <manifest package="tizenapp" version="1.0.1" api-version="4" xmlns="http://tizen.org/ns/packages"> <profile name="wearable" /> <ui-application appid="tizenapp" exec="tizenapp.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single"> <label>tizenapp</label> <icon>tizenapp.png</icon> <metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" /> <splash-screens /> </ui-application> <shortcut-list /> <privileges> <privilege>http://tizen.org/privilege/secureelement</privilege> <privilege>http://tizen.org/privilege/nfc</privilege> <privilege>http://tizen.org/privilege/nfc.cardemulation</privilege> <privilege>http://tizen.org/feature/network.nfc.card_emulation</privilege> <privilege>http://tizen.org/feature/network.nfc</privilege> </privileges> <dependencies /> <provides-appdefined-privileges /> <feature name="http://tizen.org/feature/network.nfc">true</feature> <feature name="http://tizen.org/feature/network.nfc.card_emulation">true</feature> <feature name="http://tizen.org/feature/network.secure_element">true</feature> <feature name="http://tizen.org/feature/network.secure_element.ese">true</feature> <feature name="http://tizen.org/feature/network.secure_element.uicc">true</feature> </manifest>

我不知道我需要什么来解决这个问题。

4

1 回答 1

0

它看起来像是实现中的一个简单的错字。它已在 API5 及更高版本中修复。

https://github.com/Samsung/TizenFX/pull/578/files

我不确定在针对 API4 时是否有任何解决方法,因为这不是特权而是功能。

于 2020-02-17T00:54:18.057 回答