문제

I am working on an android application and I would like to know how to get the event when a message is sent?

For the moment it sends and receives NDEF messages really well.

However I want to catch the event when data is SUCCESSFULLY sent, I mean when the user presses their screen to confirm the transfer.

Do you have any clue?

도움이 되었습니까?

해결책

It looks like you can use the onNdefPushComplete callback.

From the docs:

Class Overview

A callback to be invoked when the system successfully delivers your NdefMessage to another device.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top