MIDP 2.0 push registry

喜夏-厌秋 提交于 2019-12-25 12:12:36

问题


We would like to use MIDP2.0 push registry to invoke our MIDLet at regular interval to check for new messages from server. If another MIDLet is already running in the foreground will our MIDLet be able to be invoked simultaneously? Will the behavior vary from device to device (e.g. Nokia S-60, Motorola, Samsung, LG)?


回答1:


Behavior will definitely vary. Some devices can't handle multitasking (e.g. Nokia's Series 40 devices) and i highly doubt that your application will be invoked by PushRegistry while another MIDlet is running on those devices. Actually I'm not even sure that your MIDlet will be invoked (and could steal the foreground) from another running MIDlet on devices that do support multitasking (e.g. SonyEricsson). From my experience with the Java ME platform this is exactly the kind of feature that would suffer greatly from device fragmentation.



来源:https://stackoverflow.com/questions/1624605/midp-2-0-push-registry

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!