Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor zikman9's Avatar
    Join Date
    Jun 2003
    Posts
    55
    Hi,

    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 kokoadi's Avatar
    Join Date
    Mar 2003
    Location
    Indonesia - East Java
    Posts
    128
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved