Search in sources :

Example 1 with TextTagScreen

use of nfc.sample.Ndef.Write.ui.TextTagScreen 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);
    }
}
Also used : TextTagScreen(nfc.sample.Ndef.Write.ui.TextTagScreen) MainScreen(net.rim.device.api.ui.container.MainScreen)

Aggregations

MainScreen (net.rim.device.api.ui.container.MainScreen)1 TextTagScreen (nfc.sample.Ndef.Write.ui.TextTagScreen)1