This discussion is archived
1 Reply Latest reply: May 1, 2013 12:44 PM by 1006163 RSS

j2me application to install works but turning off the phone does not start

1006163 Newbie
Currently Being Moderated
Hello

j2me application to install works but turning off the phone does not start.

What I can do?

Note: works with rms.

example with the same problem but no rms:


import javax.microedition.lcdui.*;
import javax.microedition.midlet.MIDlet;

public class PruebaMidlet extends MIDlet {

private Display display;
private Pantalla3 pantalla3;

public void startApp() {
display = Display.getDisplay(this);
showPantalla3();
}

public void showPantalla3() {
pantalla3 = new Pantalla3(this);
display.setCurrent(pantalla3);
}

public void pauseApp() {
}

public void destroyApp(boolean unconditional) {
}
}


import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Form;

public class Pantalla3 extends Form implements CommandListener {

public Pantalla3(PruebaMidlet prueba) {
super("Prueba");
}

public void commandAction(Command c, Displayable d) {

}
}

Edited by: 1003160 on 30-abr-2013 9:05

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points