I have got a problem with my MIDlet application.
Whenever I execute this MIDlet the emulator shows the error: 'This application does not use the screen, and runs in background'.
So far I know that we have to give the reference of the screen to the instance of the Display, for that I did this:
private Display display;
display = Display.getDisplay(this);
Still I am facing the above error. please help me with this