Package net.rim.device.api.ui.container

Examples of net.rim.device.api.ui.container.MainScreen


public class CreateCustomTagCommand extends AlwaysExecutableCommand {

  public void execute(ReadOnlyCommandMetadata metadata, Object context) {
    synchronized(UiApplication.getUiApplication().getEventLock()) {
        MainScreen screen = new CustomTagScreen();
        UiApplication.getUiApplication().pushScreen(screen);
    }
  }
View Full Code Here


public class CreateTextTagCommand extends AlwaysExecutableCommand {

  public void execute(ReadOnlyCommandMetadata metadata, Object context) {
    synchronized(UiApplication.getUiApplication().getEventLock()) {
        MainScreen screen = new TextTagScreen();
        UiApplication.getUiApplication().pushScreen(screen);
    }
  }
View Full Code Here

public class CreateSpTagCommand extends AlwaysExecutableCommand {

  public void execute(ReadOnlyCommandMetadata metadata, Object context) {
    synchronized(UiApplication.getUiApplication().getEventLock()) {
        MainScreen screen = new SpTagScreen();
        UiApplication.getUiApplication().pushScreen(screen);
    }
  }
View Full Code Here

                } catch(NFCException e) {
                    Utilities.log("XXXX StartGameScreen:" + e.getClass().getName() + ":" + e.getMessage());
                    Utilities.popupMessage("We had a problem, please try again");
                }
                final int player_no = device_status;
                final MainScreen next_screen;
                if(player_no == Constants.PLAYER_2) {
                    next_screen = GameScreen.getInstance(player_no);
                } else {
                    next_screen = new SymbolSelectionScreen();
                }
View Full Code Here

public class ResponderCommand extends AlwaysExecutableCommand {

  public void execute(ReadOnlyCommandMetadata metadata, Object context) {
    UiApplication.getUiApplication();
        synchronized(UiApplication.getEventLock()) {
        MainScreen screen = new NfcSnepResponderScreen(Constants.VCARD_RESPONDER);
        UiApplication.getUiApplication().pushScreen(screen);
    }
  }
View Full Code Here

public class EmulateScCommand extends AlwaysExecutableCommand {

  public void execute(ReadOnlyCommandMetadata metadata, Object context) {
    synchronized(UiApplication.getUiApplication().getEventLock()) {
        MainScreen screen = new NfcVirtTargScreen(Constants.EMULATE_SC);
        UiApplication.getUiApplication().pushScreen(screen);
    }
  }
View Full Code Here

public class ResponseTextCommand extends AlwaysExecutableCommand {

  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);
    }
  }
View Full Code Here

public class EmulateSrCommand extends AlwaysExecutableCommand {

  public void execute(ReadOnlyCommandMetadata metadata, Object context) {
        synchronized(UiApplication.getUiApplication().getEventLock()) {
            MainScreen screen = new NfcVirtTargScreen(Constants.EMULATE_SR);
            UiApplication.getUiApplication().pushScreen(screen);
        }
  }
View Full Code Here

public class SendCommand extends AlwaysExecutableCommand {

  public void execute(ReadOnlyCommandMetadata metadata, Object context) {
    synchronized(UiApplication.getUiApplication().getEventLock()) {
        MainScreen screen = new ClientTextScreen();
        UiApplication.getUiApplication().pushScreen(screen);
    }
  }
View Full Code Here

        }

        resetBidStateTracking();

        final int player_no = device_role;
        final MainScreen next_screen;

        if(player_no == Constants.PLAYER_2) {
            next_screen = GameScreen.getInstance(player_no);
        } else {
            next_screen = new SymbolSelectionScreen();
View Full Code Here

TOP

Related Classes of net.rim.device.api.ui.container.MainScreen

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.