aspose file tools*
The moose likes Java Micro Edition and the fly likes Minimizing and Maximizing a Midlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Minimizing and Maximizing a Midlet " Watch "Minimizing and Maximizing a Midlet " New topic
Author

Minimizing and Maximizing a Midlet

lekkie Nakel
Greenhorn

Joined: Jan 23, 2007
Posts: 15
Hi guys,
I was just wondering what happens when a midlet is minimized.

I know to minimize a midlet, the current display is set to null.

I was just wondering if the minimized midlet is still running and if can still maintain the state of its execution and hence state of its objects. For instance, if I am listening for an SMS message on port, if I minimise the midlet, will it still be listening to the SMS on the port?

If yes, if I maximize the app again, does it go to my last page to does it go to the begining of the midlet (startapp)?
Punit Raizada
Ranch Hand

Joined: Mar 20, 2004
Posts: 156
By Minimize you mean, sending the MIDlet into the background. I believe you can do what you want to do when your MIDlet is in the background.

Check out this article on Sony Ericsson developer forum for more details:

Background MIDlets


SCJP 1.4
Everything that can go wrong will go wrong -Murphy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Minimizing and Maximizing a Midlet