dcsimg
How MIDlet call java class
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   happynnc
Posted On:   Monday, August 27, 2012 10:16 AM

Hello everyone, Could you please help me with MIDlet call java class in my case: - I have a java class that have a form with textfield, command.... like this: (1) public class AForm extends MIDlet implements CommandListener { public AFormt() { } } protected void destroyApp(boolean unconditional) throws MIDletStateChangeException { } protected void pauseApp() {} protected void startApp() throws MIDletStateChangeException { } public void commandAction(Command c, Displayable d) { .....} - Then I create a MIDlet: (2) public class Home extends MIDlet { } public void startApp() {} public voi   More>>

Hello everyone,

Could you please help me with MIDlet call java class in my case:

- I have a java class that have a form with textfield, command.... like this: (1)

public class AForm extends MIDlet implements CommandListener {
public AFormt() {

}
}
protected void destroyApp(boolean unconditional) throws MIDletStateChangeException { }

protected void pauseApp() {}

protected void startApp() throws MIDletStateChangeException { }

public void commandAction(Command c, Displayable d) {
.....}

- Then I create a MIDlet: (2)

public class Home extends MIDlet {


}
public void startApp() {}
public void pauseApp() {}
public void destroyApp(boolean unconditional) {}

How can I use MIDlet (2) call java class (1) in this case?

Please help me with this. Thanks a lot

   <<Less
About | Sitemap | Contact