最小化退出按钮时的移动应用程序 [英] minimizing a mobile application on exit button press

查看:66
本文介绍了最小化退出按钮时的移动应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用J2ME和LWUIT开发移动应用程序.每当在使用symbian OS的电话上按下默认退出Button(红色)时,我都希望我的应用程序最小化而不退出.我该如何实现?

I am developing a mobile application using J2ME and LWUIT. Whenever the default exit Button (red in color) is pressed on a phone with symbian OS , I want my application to be minimized and not exited. How do i achieve this?

推荐答案

根据诺基亚文档,网址为 http://library.developer.nokia.com/index.jsp?topic=/Java_Developers_Library/GUID-C5D3E0F5-72B9-4EE7-8BA7-20DE4A538FB8.html 您可以添加以下jad密钥:Nokia-MIDlet-No-Exit.

防止通过按End键关闭MIDlet.不是关闭MIDlet,而是将MIDlet置于后台.仍然可以从打开的应用程序列表中关闭MIDlet."

示例:
诺基亚-MIDlet-No-Exit:是

According to Nokia documentation at http://library.developer.nokia.com/index.jsp?topic=/Java_Developers_Library/GUID-C5D3E0F5-72B9-4EE7-8BA7-20DE4A538FB8.html you can add the following jad key: Nokia-MIDlet-No-Exit.

"Prevents the MIDlet from closing via pressing the End key. Instead of closing the MIDlet it is put to the background. The MIDlet can be still closed from the list of open applications."

Example:
Nokia-MIDlet-No-Exit: true

这篇关于最小化退出按钮时的移动应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆