• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

States Midlet

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello all ,I would like to help me , I have a question regarding the status changes midlet,
and is why when I run the outputs are

Constructor
paused
destroyed
activate

I do not understand that the last thing printed is "activate" if the Midlet is supposed to be destroyed and release resources
I would appreciate it.


 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello emmanuel, please use code tags. I've added them for you this time.

I see you didn't return to two threads you started, not even to reply to the responses.

The IDE console in which you're seeing the sysouts isn't part of a MIDlet's resources, so why shouldn't your startApp() method run to the end?
 
emmanuel ramos
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But because if the Midlet comes destroyApp (), I guess that ends the execution or had to do to no longer return startApp () in the code above
 
reply
    Bookmark Topic Watch Topic
  • New Topic