Search in sources :

Example 1 with ClientTextScreen

use of nfc.sample.llcp.ui.ClientTextScreen in project Samples-for-Java by blackberry.

the class SendCommand method execute.

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

Aggregations

MainScreen (net.rim.device.api.ui.container.MainScreen)1 ClientTextScreen (nfc.sample.llcp.ui.ClientTextScreen)1