use of nfc.sample.virtual.target.ui.NfcVirtTargScreen in project Samples-for-Java by blackberry.
the class EmulateSrCommand method execute.
public void execute(ReadOnlyCommandMetadata metadata, Object context) {
synchronized (UiApplication.getUiApplication().getEventLock()) {
MainScreen screen = new NfcVirtTargScreen(Constants.EMULATE_SR);
UiApplication.getUiApplication().pushScreen(screen);
}
}
use of nfc.sample.virtual.target.ui.NfcVirtTargScreen in project Samples-for-Java by blackberry.
the class EmulateScCommand method execute.
public void execute(ReadOnlyCommandMetadata metadata, Object context) {
synchronized (UiApplication.getUiApplication().getEventLock()) {
MainScreen screen = new NfcVirtTargScreen(Constants.EMULATE_SC);
UiApplication.getUiApplication().pushScreen(screen);
}
}
use of nfc.sample.virtual.target.ui.NfcVirtTargScreen in project Samples-for-Java by blackberry.
the class ResponseTextCommand method execute.
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);
}
}
Aggregations