J2me:Displayable.setTicker()自动关闭诺基亚手机

发布于 2024-12-18 02:01:55 字数 484 浏览 5 评论 0原文

我正在 j2me 中开发移动应用程序。在该应用程序中,我使用 6 个屏幕,它是从 javax.microedition.lcdui.Formjavax.microedition.lcdui.List 等类扩展的。我创建了一个 Displayable(javax.microedition.lcdui.Displayable) 对象可显示。我做了一个可显示的分配,等于我的屏幕对象。之后,我使用 displayable.setTicker(Tickerticker) 设置了一个股票代码。

以上情况只是我申请的一部分。我的应用程序在“Sony ericsson z530i”手机中成功运行,但在“nokia c200”手机(诺基亚-s40系列sdk设备)中运行 displayable.setTicker() 自动关闭手机。

我无法解决解决方案。所以请帮我解决解决方案。给我你的宝贵意见。

I am developing a mobile application in j2me. In that application I use 6 screen which is extends from the classes javax.microedition.lcdui.Form, javax.microedition.lcdui.List, etc. I create a Displayable(javax.microedition.lcdui.Displayable) object displayable. I made an assignment displayable equals to my screen objects. After that I set a ticker using displayable.setTicker(Ticker ticker).

The above situations are only part of my application. My application runs in "Sony ericsson z530i" mobile successfully but in "nokia c200" mobile which is nokia-s40 series sdk device displayable.setTicker() automatically switch off the mobile.

I cannot resolve the solution. So please help me to solve the solution. Give me your valuable ideas.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

想念有你 2024-12-25 02:01:55

我找到了解决方案。应用程序中有时会抛出堆内存异常。所以它会终止。

现在我减少了编码中的内存泄漏。现在它可以正常工作了。

I found the solution.There is heap memory exception is throws sometimes in application. So it will terminate.

Now I reduce the memory leaks in my coding. Now it's working correctly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文