Hi all,

I want my MIDlet to close down if it loses focus for any reason. I am developing for a series 60 Nokia (the 6630 in fact). On this phone you can click a key and return to the main menu leaving the Midlet in the background, if this occurs I need the midlet to close. Any suggestions,? I have tried:

protected void pauseApp()
{
exitMIDlet();
}

protected void destroyApp( boolean unconditional )
{ }

public void exitMIDlet()
{
destroyApp(true);
notifyDestroyed();
}

And this doesn't do anything, the Midlet stays runnign in the background, what am I doing wrong?

Ian Bolland