• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Minimizing and Maximizing a Midlet

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)?
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic