10-02-2008 09:03 AM
10-02-2008 09:15 AM
So presumably the OP has an app that contains a listener which registers to listen for events from another app.
When that app calls his method, he gets an exception because he is trying to kill the app related to the calling
thread, probably not the app which loaded the listener class?
Also, I would recommend the sun site for more general background on java questions that aren't
entirely RIM specific,
10-02-2008 09:58 AM - edited 10-02-2008 09:59 AM
> Are you calling System.exit from within a method fired by a listener?
No, from destroyApp in the class extending Midlet.
Would I expect to get a SecurityException if there are any listeners or threads still running?
12-16-2008 04:18 PM
Are the static members shared by any other applications, libraries or listeners? Note that static data does not equal a singleton. I recommend having a look at this article.
How to - Create a singleton using the RuntimeStore
Article Number: DB-00686