链接 midlet

发布于 2024-08-18 16:07:49 字数 105 浏览 1 评论 0原文

如何连接 midlet 以与 1 个主 midlet 一起工作? 如果可能的话,应该只有 1 个 jar 可以下载到手机中。用户还应该能够选择非主 midlet,或者最好不要在移动设备上显示它们。

How do I connect the midlets to work with 1 single master midlet?
If possible, there should only be 1 jar for the downloading into the mobile. The users should be able to select the non-master midlet as well, or better still not display them on the mobile.

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

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

发布评论

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

评论(1

请帮我爱他 2024-08-25 16:07:49

您可以在手机上的一个 jar 文件中安装多个 MIDlet(如果它们都属于同一个 MIDlet 套件)。

您可以根据 MIDP 规范在 jad 和清单中指定多个 MIDlet:


MIDlet-1:MIDletName1,MIDletIcon1.png,MIDletClass1
MIDlet-2:MIDletName2,MIDletIcon2.png,MIDletClass2

...

每个 MIDlet 都应该单独呈现给用户。

至于在 MIDlet 套件中隐藏单个 MIDlet,这将是制造商特定的行为。

索尼爱立信手机允许开发人员使用 jad 属性完全隐藏仅包含一个 MIDlet 的整个 MIDlet 套件(其中一些属性仅在您的套件受到制造商信任时才有效),但我从未尝试过除此之外的任何操作。

You can install several MIDlets on a phone inside a single jar file if they all belong to the same MIDlet Suite.

You can specify several MIDlets in your jad and manifest according to the MIDP spec:


MIDlet-1: MIDletName1, MIDletIcon1.png, MIDletClass1
MIDlet-2: MIDletName2, MIDletIcon2.png, MIDletClass2

...

Each MIDlet should then be presented individually to the user.

As for hiding a single MIDlet in a MIDlet suite, that would be manufacturer-specifc behavior.

Sony-Ericsson phones allow developers to completely hide an entire MIDlet Suite containing just one MIDlet using jad properties (some of which may only work if your Suite is trusted by the manufacturer) but I've never tried anything beyond that.

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