Package org.nfctools.test

Examples of org.nfctools.test.NfcipHelper.launch()


    List<Record> records = new ArrayList<Record>();
    records.add(new UriRecord("http://www.nfctools.org"));
    NdefPushLlcpService ndefPushLlcpService = new NdefPushLlcpService(new LoggingNdefListener());
    ndefPushLlcpService.addMessages(records, null);
    NfcipHelper helper = new NfcipHelper(null, null, ndefListener, ndefPushLlcpService);
    helper.launch();
    synchronized (this) {
      wait(5000);
    }
    assertFalse(ndefListener.getRecords().isEmpty());
    UriRecord uriRecord = (UriRecord)ndefListener.getRecords().iterator().next();
View Full Code Here

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.