Exiting midlet in lwuit - and still calling notify destoryed
call notifydestroyed and destoryapp? it doesnt appear to ? Or it might be an emulator bug... (wtk 2.5.2) - but if i quit the emulator it definitely calls them methods?
I want to register an alarm for the push registry to reopen my app and I need to do this in the MainMIDlet class (or push registry wont work it seems) but I can get access to it to directly call these methods, so im kind of stuck. How do I get them to call? I have a button in my app that quits the app but only does so by using Display.getInstance().exitApplication(); - thus im really not sure *how* to make notifydestroted and destroyapp to get called to register my push stuff.. When I try to access MainMIDlet to staticly get at things like:
MainMIDlet.myInstanc the compiler confusingly tells me MainMIDlet does not exist..