Midlet must not closed even press cut button of device

java, java-me, midp

Solution

If you are using a Nokia handset you can add Nokia-MIDlet-No-Exit: true in Jad file: http://library.developer.nokia.com/index.jsp?topic=/Java_Developers_Library/GUID-C5D3E0F5-72B9-4EE7-8BA7-20DE4A538FB8.html

This other question is also about this minimizing a mobile application on exit button press

Problem

I am working in J2ME. I want that my MIDlet must run for infinite time. It must not close even I press any of key from my device. Please help me what should I do for this?

Original source

Related problems