Package org.nfctools.examples.hce

Source Code of org.nfctools.examples.hce.HceDemo

package org.nfctools.examples.hce;

import javax.smartcardio.CardTerminal;

import org.nfctools.examples.TerminalUtils;

public class HceDemo {

  public void run() {
    CardTerminal cardTerminal = TerminalUtils.getAvailableTerminal().getCardTerminal();
    HostCardEmulationTagScanner tagScanner = new HostCardEmulationTagScanner(cardTerminal);
    tagScanner.run();
  }

  public static void main(String[] args) {
    new HceDemo().run();
  }
}
TOP

Related Classes of org.nfctools.examples.hce.HceDemo

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.