开发者

linking midlets

开发者 https://www.devze.com 2022-12-17 07:18 出处:网络
how do I connec开发者_Python百科t 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 n

how do I connec开发者_Python百科t 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.

thanks.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号