How to use NFC ACTIONS

后端 未结 5 1561
清歌不尽
清歌不尽 2020-12-06 20:03

I am trying to register a receiver programmatically to get notified once an NFC tag is detected. As shown in my code I registered for the desired action and I created the br

5条回答
  •  一向
    一向 (楼主)
    2020-12-06 20:49

    I guess you have a mistake : you are using intentFilter1 without action because the action is added to the intentFilter0 , try add the action to the intentFilter1 and run it.

提交回复
热议问题