The application is running , the user is making some TextField editing. Then a call is received , so the MIDlet enters the paused state. When the conversation is finished then the application is restarted , the startApp() method of the MIDlet is called and the main Form of the application is shown !
So how to dismiss this default behaviour so that the last opened Form with all the modifications are kept ?
I created a
staticFormin theMIDletclass :Then I set it to the actual Form in every Form of my
project:Then in the
startApp()I wrote :EDIT :
For the canvas :
In the
MIDletclass :In the
canvasclass ( constructor ) :And in the
startApp():I think this approach of using a
HashTablewill work even for anylcduiForm.