问题描述
我在J2ME中工作.我希望我的MIDlet必须无限期运行.即使我按设备上的任何键,也不能关闭它.
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.
请帮助我该怎么办?
推荐答案
如果您使用的是诺基亚手机,则可以在Jad文件中添加Nokia-MIDlet-No-Exit:true: http://library.developer.nokia.com/index .jsp?topic =/Java_Developers_Library/GUID-C5D3E0F5-72B9-4EE7-8BA7-20DE4A538FB8.html
另一个问题也是关于最小化退出时的移动应用程序的问题按下按钮
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
这篇关于即使按下设备的剪切按钮也不能关闭小门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!