从 lwuit 表单中调用 destroyApp(true)
我想关闭正在运行的 midlet。但当前显示的项目是 lwuit 表单。如何通过单击添加到 lwuit 表单的命令来关闭应用程序。
I want to close a running midlet. But the current item on Display is a lwuit Form. How can I close the app by clicking a Command added to an lwuit Form.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
传递 midlet 实例并调用
destroyApp(...)
或使用notifyDestroyed();
。例如,
Sample.java
Sample1.java
pass midlet instance and call
destroyApp(...)
or usenotifyDestroyed();
.For example,
Sample.java
Sample1.java