This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

System.exit()  RSS feed

 
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
Boost this thread!