Detect Midlet losing Focus
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()
protected void destroyApp( boolean unconditional )
public void exitMIDlet()
And this doesn't do anything, the Midlet stays runnign in the background, what am I doing wrong?
Re: Detect Midlet losing Focus
Why not try to kill the app in hideNotify() on your canvas?