
when i run a project,it shows an exception like "unable to create MIDlet".It also shows "running with locale:English_united States.1252 running in the identified third party security domain"
"please help...."
program is
import javax.microedition.lcdui.*; import javax.microedition.midlet.MIDlet;
public class MidletLifecycle extends MIDlet{ private Form form;
private Display display;
public MidletLifecycle(){ System.out.println("MidletLifecycle constructure"); }
public void startApp(){ form = new Form("Midlet Lifecycle"); display = Display.getDisplay(this); String msg = "This is the Lifecycle of Midlet!"; form.append(msg); display.setCurrent(form); }
public void pauseApp(){ System.out.println("You are in pauseApp()..."); }
public void destroyApp(boolean destroy){ System.out.println("You are in destroyApp()..."); notifyDestroyed(); } }
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.