我已经阅读和阅读,但我不明白当我触摸 NFC 标签时我需要做什么才能启动应用程序(一个列表弹出 TagWriter 和 {X})
我已将此添加到我的应用程序主活动中(在清单中)
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/plain" />
</intent-filter>
<intent-filter>
<action android:name="android.nfc.action.TECH_DISCOVERED"/>
</intent-filter>
<intent-filter>
<action android:name="android.nfc.action.TAG_DISCOVERED"/>
</intent-filter>
我还在application/com.pgsideris.aeglea
应用程序中使用 NDEF 数据写入和读取标签
我会欢迎一些细节,因为大多数其他帖子并没有提供太多内容,而且他们提供的链接让我有些困惑。