Search in sources :

Example 1 with NfcSnepResponderScreen

use of nfc.sample.peer2peer.ui.NfcSnepResponderScreen in project Samples-for-Java by blackberry.

the class ResponderCommand method execute.

public void execute(ReadOnlyCommandMetadata metadata, Object context) {
    UiApplication.getUiApplication();
    synchronized (UiApplication.getEventLock()) {
        MainScreen screen = new NfcSnepResponderScreen(Constants.VCARD_RESPONDER);
        UiApplication.getUiApplication().pushScreen(screen);
    }
}
Also used : NfcSnepResponderScreen(nfc.sample.peer2peer.ui.NfcSnepResponderScreen) MainScreen(net.rim.device.api.ui.container.MainScreen)

Aggregations

MainScreen (net.rim.device.api.ui.container.MainScreen)1 NfcSnepResponderScreen (nfc.sample.peer2peer.ui.NfcSnepResponderScreen)1