J2me:Displayable.setTicker()自动关闭诺基亚手机
我正在 j2me 中开发移动应用程序。在该应用程序中,我使用 6 个屏幕,它是从 javax.microedition.lcdui.Form
、javax.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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了解决方案。应用程序中有时会抛出堆内存异常。所以它会终止。
现在我减少了编码中的内存泄漏。现在它可以正常工作了。
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.