• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About switch midlet??

 
bobby chen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , I am the j2me newer.
Could you please tell me how to swich the midlet1 to midlet2.
I will write a switch command to switch display between midle1 and midlet2.
but it won't chang and still keep the original display.
if (c == switchCmd) {
pauseApp();
notifyPaused();

resumeRequest();

}

Could anyone tell me how to implement it, thanks a lot.
[/LIST]
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot invoke MIDlet B from inside MIDlet A -- if that is what you meant. The MIDlet life cycle is completely managed by the AMS.
 
bobby chen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks your reply
I mean if midlet1 still run but a phone call or the other situation. The midlet1 will pause then run midlet2. When the midp2 close , I could call back the midp1. I have no idea how to implement this situatin in pocketpc or palm
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic