use of net.rim.device.api.ui.container.MainScreen 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 net.rim.device.api.ui.container.MainScreen 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);
}
}
use of net.rim.device.api.ui.container.MainScreen in project Samples-for-Java by blackberry.
the class CreateSpTagCommand method execute.
public void execute(ReadOnlyCommandMetadata metadata, Object context) {
synchronized (UiApplication.getUiApplication().getEventLock()) {
MainScreen screen = new SpTagScreen();
UiApplication.getUiApplication().pushScreen(screen);
}
}
use of net.rim.device.api.ui.container.MainScreen in project Samples-for-Java by blackberry.
the class CreateTextTagCommand method execute.
public void execute(ReadOnlyCommandMetadata metadata, Object context) {
synchronized (UiApplication.getUiApplication().getEventLock()) {
MainScreen screen = new TextTagScreen();
UiApplication.getUiApplication().pushScreen(screen);
}
}
use of net.rim.device.api.ui.container.MainScreen in project Samples-for-Java by blackberry.
the class CreateUriTagCommand method execute.
public void execute(ReadOnlyCommandMetadata metadata, Object context) {
synchronized (UiApplication.getUiApplication().getEventLock()) {
MainScreen screen = new UriTagScreen();
UiApplication.getUiApplication().pushScreen(screen);
}
}
Aggregations