2015-04-27 40 views
0

数据(有效载荷)。 触发的唯一操作是ACTION_TAG_DISCOVERED我只能读取tag_info。无法读取非NDEF标签

标签的科技股是NfcBIsoDep

nfc_tech_filter.xml

<tech-list> 
    <tech>android.nfc.tech.NfcB</tech> 
    <tech>android.nfc.tech.IsoDep</tech> 
</tech-list> 

NfcReader/AndroidManifest.xml中

<intent-filter> 
      <action android:name="android.nfc.action.NDEF_DISCOVERED" /> 
      <action android:name="android.nfc.action.TECH_DISCOVERED" /> 
      <action android:name="android.nfc.action.TAG_DISCOVERED" /> 
      <category android:name="android.intent.category.DEFAULT" /> 
</intent-filter> 

可以在请帮助我获取数据吗?

+0

你期望阅读如果标签不包含NDEF有效载荷?它是什么类型的卡? –

+0

谢谢@MichaelRoland的关注,,, –

回答

0

这个插件只支持NDEF。 Android支持NfcB和IsoDep,所以可以扩展这个插件来做我所需要的。

由于Don ...

相关问题