Invoking one midlet from another midlet

hi all,

Can anybody please help me in solving my problem?.

The problem is due to heavy code and somany modules in my project i want to split it to different MIDlets.

I am developing a application not the game remember.I want to have seperate MIDlets for each module.And my objective is that,The user was not having any right to comeback to the previous MIDlet if he completed the Module.

Can u please tell me the way to invoke the MIDlet in the same MIDlet suite from another MIDlet in same MIDlet suite.

Now i m using MIDP 2.0.

So is there any other method accept push registry?

What my intension wasa to shift the focus from one midlet to another.let me Explain me with a simple Example.

In a Game(Actually i am developing an J2ME Application),the login form which was authenticate the user and then if the user a valid user he was allowed to play the game(which was another MIDlet),if not allow him to register for the product.

Initial screen

|

(no)v (yes)

take him to register< >Launch a MIDlet(Game)

The above was the flow i want to implement,so the user once given his identification was not having any chance to again to initial screen.

Please help me about the MIDlet Communication

Message was edited by:

sshiragavi

[1343 byte] By [sshiragavi] at [2007-11-26 12:17:41]
# 1
You cannot call one midlet from another! It' just that simple!Use forms or canvases, not multiple midlets.
deepspace at 2007-7-7 14:55:33 > top of Java-index,Archived Forums,Socket Programming...
# 2
I can't see any needs of seperate MIDlets here.You can use Canvases and Forms.Your app could start with a authentication Form. If the user is invalid, show hime the registration form.
RiekeyLee at 2007-7-7 14:55:33 > top of Java-index,Archived Forums,Socket Programming...
# 3
Maybe in MIDP 3.0
aromr at 2007-7-7 14:55:33 > top of Java-index,Archived Forums,Socket Programming...
# 4
You may make all other classes non-MIDlet class and manage everything else in the login MIDlet using threads.
Birhanu at 2007-7-7 14:55:33 > top of Java-index,Archived Forums,Socket Programming...
# 5
Just work on oop's fundamentals...Create another class like Form or Canvas..and do navigation in between them.
chetanya_4u at 2007-7-7 14:55:33 > top of Java-index,Archived Forums,Socket Programming...