communication between midlets

can midlets communicate with each other?e.g. midlet a stores data and midlet b uses the data stored by mildet b.thanks
[146 byte] By [koelschejung] at [2007-9-26 6:21:54]
# 1
Only if they are in the same MIDlet suite.
jchack at 2007-7-1 15:21:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

[koelschejung],

[jchack] is correct, a developer can program MIDlets to share information by storing the data into the RMS datastore only if the MIDlets are packaged in the same MIDlet suite.

Also, how persistent the RMS datastore within a MIDP compliant device depends on the device manufacturer itself e.g. when the battery of such devices is changed, will the RMS datastore persists, etc, etc.

HTH.

Allen Lai

Developer Technical Support

SUN Microsystems

http://www.sun.com/developers/support/

allenlai at 2007-7-1 15:21:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
MIDPlet can talk to MIDPlet......... and through using different tool kit..... its through using p2p JXTA!!!!
d_n_singh at 2007-7-1 15:21:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

If the MIDlets are on different devices, JXTA-J2ME is one solution (albeit it is not production yet).

If the MIDLets are on the same device, and in different MIDlet Suites, then JXTA-J2ME would only work if two MIDlets can run at the same time (is it possible to run two MIDLets at the same time?).

Don

d1camero at 2007-7-1 15:21:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
VERy doubtful ;-P
Abuse at 2007-7-1 15:21:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6

could u not upload the data via http, then download it again into the other MIDlet?

that circumvents the rms/power issue and even allows inter midlet suite communication.

though it does require using network bandwidth

and writing a server 2 do the management side o' things

rob,

Abuse at 2007-7-1 15:21:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...