Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

System.exit()

 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i would like to know how to call the System.exit() in the Midle program.....

Please reply me asap if anyone know of any example to do setFrameSequence please e-mail me at "koh_jaosn_616@hotmail.com" thank you

regards,
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not call System.exit() in a MIDlet. MIDP 2.0 specifies that this will throw a SecurityException ... (MIDP 2.0 specs, page 42)

You must use MIDlet.notifyDestroyed() instead ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic