Package nfc.sample.virtual.target.ui

Examples of nfc.sample.virtual.target.ui.NfcVirtTargScreen


public class EmulateScCommand extends AlwaysExecutableCommand {

  public void execute(ReadOnlyCommandMetadata metadata, Object context) {
    synchronized(UiApplication.getUiApplication().getEventLock()) {
        MainScreen screen = new NfcVirtTargScreen(Constants.EMULATE_SC);
        UiApplication.getUiApplication().pushScreen(screen);
    }
  }
View Full Code Here


import nfc.sample.virtual.target.ui.ResponseTextScreen;

public class ResponseTextCommand extends AlwaysExecutableCommand {

  public void execute(ReadOnlyCommandMetadata metadata, Object context) {
      NfcVirtTargScreen screen = (NfcVirtTargScreen) context;
    synchronized(UiApplication.getUiApplication().getEventLock()) {
        MainScreen text_screen = new ResponseTextScreen(screen);
        UiApplication.getUiApplication().pushScreen(text_screen);
    }
  }
View Full Code Here

public class EmulateSrCommand extends AlwaysExecutableCommand {

  public void execute(ReadOnlyCommandMetadata metadata, Object context) {
        synchronized(UiApplication.getUiApplication().getEventLock()) {
            MainScreen screen = new NfcVirtTargScreen(Constants.EMULATE_SR);
            UiApplication.getUiApplication().pushScreen(screen);
        }
  }
View Full Code Here

TOP

Related Classes of nfc.sample.virtual.target.ui.NfcVirtTargScreen

Copyright © 2018 www.massapicom. 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.