Example usage for android.nfc NfcAdapter.OnNdefPushCompleteCallback interface-usage

List of usage examples for android.nfc NfcAdapter.OnNdefPushCompleteCallback interface-usage

Introduction

In this page you can find the example usage for android.nfc NfcAdapter.OnNdefPushCompleteCallback interface-usage.

Usage

From source file ca.psiphon.ploggy.ActivitySendIdentityByNfc.java

/**
 * Base class for all activities that send identity via NFC.
 *
 * Implements NFC (Android Beam) identity exchange. Due to the "Touch to Beam" OS prompt enforced
 * for Beam for Android 4+, apps cannot automatically send a Beam in response to an incoming Beam
 * (for mutual identity exchange triggered by one device). So NFC identity exchange is