Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jun 2003

    problem with simple application


    i am developing s simple application when i'm impelmenting the CommandListener in the class title like this:
    public my class extends MIDlet implements CommandListener {

    and adding it's method:
    public void commandAction(Command c, Displayable d) {

    the application don't work on the real phone (nokia 7650) but when i'm deleting CommandListener from my application the program is running fine on the phone

    what can be the problem???

    many thanks itzik.

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Indonesia - East Java

    the solustion about your problem

    when i look your code you do not have some mistake but if you want more good if you use public chnage to protected is more good than before your methos i hope it can help you to solve your problem so your codding would like be protected void commandAction(Command c, Displayable d) { your code action }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts