The midlet should not be closed even by pressing the power button

I work in J2ME. I want my midlet to run indefinitely. It should not be closed, even I press any of the keys on my device.

Please help me, what should I do for this?

+4
source share
3 answers
+4
source

I am afraid that any device may close any midlet that it launches. This can be done by the platform, and you cannot do anything in J2ME. The only solution is to make your own firmware (or OS) by fixing it.

+2
source

It should not be Nokia-MIDlet-No-Exit:true , but it should be Nokia-MIDlet-no-exit: true
but to do this, you first disable the Nokia Security Firewall by hacking your s40 device.

-one
source

All Articles