I'm having success creating an application which sends data through NFC/Android Beam. I am using setNdefPushMessageCallback
and wondered how I can detect once the recipient phone has received the message? At the moment, I'm struggling to differentiate between failed and successful beams!
You can register a callback with NfcAdapter.setOnNdefPushCompleteCallback() . It will be called when the transfer via Beam is successful.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.