MIDP 2.0 推送注册表

发布于 2024-08-09 03:00:47 字数 127 浏览 1 评论 0原文

我们希望使用 MIDP2.0 推送注册表定期调用 MIDLet 来检查来自服务器的新消息。如果另一个 MIDLet 已经在前台运行,我们的 MIDLet 是否能够同时被调用?行为是否因设备而异(例如诺基亚 S-60、摩托罗拉、三星、LG)?

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)?

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

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

发布评论

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

评论(1

成熟稳重的好男人 2024-08-16 03:00:47

行为肯定会有所不同。有些设备无法处理多任务(例如诺基亚的 Series 40 设备),并且我非常怀疑当另一个 MIDlet 正在这些设备上运行时,PushRegistry 会调用您的应用程序。实际上,我什至不确定您的 MIDlet 是否会从支持多任务处理的设备(例如 SonyEricsson)上运行的另一个 MIDlet 调用(并且可能会窃取前台)。根据我使用 Java ME 平台的经验,这正是会因设备碎片而受到严重影响的功能。

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.

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