• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

destroy app?

 
Rakesh Kumar
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok. what is the use of "destroyApp(false);" ?

thnks
rakesh
 
Reghu Ram Thanumalayan
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the AMS feels like providing a chance for the MIDlet to protest against destroying the MIDlet, then it invokes destroyApp(false).

If the AMS wants to outright detroy the MIDlet without giving it a chance, then it invokes destroyApp(true) in which case, a MIDletStateChangeException thrown by the MIDlet in the destroyApp method will not have any effect :-)
[ June 09, 2006: Message edited by: Reghu Ram T ]
 
Rakesh Kumar
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
will u give 2 examples for showing these 2.

thanks in advance
rak
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic