This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
How to destroy a midlet from a form not by extending midlet..?
I used code like this by Extending form
Error i'm getting is
I know its simple but i'm not able to destroy the midlet
You need to pass a reference to the MIDlet to the Form's constructor, assign it to an instance field, and call exitMIDlet() on that reference.
Just declaring a MIDlet variable named mailMIDlet doesn't automagically assign the variable to the desired reference.
There are no new questions, but there may be new answers.
Joined: Jan 04, 2011
thanks for your reply
I tried what you said
In form 'TheEditPosition' constructor
I got this error.
Generic/midp2: at de.enough.polish.sample.TheEditPosition.commandAction(+12)
Unable to translate stacktrace: Unable to start the "jad"-decompiler: [java.io.IOException: Cannot run program "jad.exe": CreateProcess error=2, The system cannot find the file specified]. jad is available from http://www.kpdus.com/jad.html.
what i made wrong?
help me to solve this
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com