Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 787 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 787 Bytes

tangem-demo

Demo application for tangemcard libraries

Simple example how to use tangemcard libraries to read Tangem cards on android phone with NFC.

This example show:

  1. Setup permissions to access NFC reader (in AndroidManifest.xml and check&request permissions on MainActivity)
  2. Setup intent filters in AndroidManifest.xml to startup application by simple tap on Tangem card
  3. Setup local environment (PINStorage, FirmwareStorage, Issuers and etc) to use tangemcard libraries
  4. Setup scan card activity layout (MainActivity) to show user how to tap card according to the phone's NFC reader location
  5. Setup NFC and tangem card callbacks to run ReadCardInfoTask and process read result
  6. How to workaround with security delay (show WaitSecurityDelayDialog), enforced by card