Search in sources :

Example 1 with SpTagScreen

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

Aggregations

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