• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

question.. Using more than 1 midlet in application

 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I have 1 midlet running a user interface. As soon as the user selects what he wants, another midlet takes the information and processes it.
1o.) how do I transfer the request to the second midlet? (an argument should be passed as a parameter -what the user has selected)
2o.) how do I clear the screen so the second midlet can display its results??
thanks
 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no way to activate a MIDlet from another MIDlet. If the two MIDlets are in the same suite, though, they can use the same classes and the same record stores and they can share information that way. But the MIDP spec is silent on what it takes to activate a MIDlet -- it's dependent on the device.
 
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic