Ensure the ISO7816 reading process of a SmartCard or an HCE application.
This is linked to the HCE_Example project : https://github.com/solostaran/HCE_Example
See the onResume event, the enableReaderMode call ensures to catch the contactless communication.
The callback is into the activity as the onTagDiscovered method. It launches the reading into a thread.
The run method contains the traditionnal ISO7816 dialog.