Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Hi, I have a midlet. In that I created object that extends
Canvas.In that canvas I added one command,when I click that
command the control is not coming to CommandAction() method
of that canvas. Can u suggest me any solution for this?

Answers were Sorted based on User's Feedback



Hi, I have a midlet. In that I created object that extends Canvas.In that canvas I added one comma..

Answer / sacihn

implements CommandListener and then
setCommandListener(this);
then control will go to commandAction()

Is This Answer Correct ?    10 Yes 0 No

Hi, I have a midlet. In that I created object that extends Canvas.In that canvas I added one comma..

Answer / oren

Implement CommandListener and set "this" to be a command
listener

Is This Answer Correct ?    8 Yes 2 No

Hi, I have a midlet. In that I created object that extends Canvas.In that canvas I added one comma..

Answer / neel

By the way, If this kind of problem may come if u have not
performed this steps..
1. implement your canvas from CommandListener interface..
2. Add command to canvas addCommand(cmdExit)
3. Resister your command bu using setCommandListener(this);
4. then implement the commandAction(Command c, Displayable
d) method, and provide full implementation for the required
command action..

Thnx..

Is This Answer Correct ?    4 Yes 0 No

Hi, I have a midlet. In that I created object that extends Canvas.In that canvas I added one comma..

Answer / data4pinto

extends CommandListener

Is This Answer Correct ?    6 Yes 8 No

Post New Answer

More J2ME Interview Questions

Explain about T9 ?

1 Answers  


What is WTLS ?

1 Answers  


What is j2me in mobile computing?

0 Answers  


Hi, I have a midlet. In that I created object that extends Canvas.In that canvas I added one command,when I click that command the control is not coming to CommandAction() method of that canvas. Can u suggest me any solution for this?

4 Answers  


Describe and explain WMLScript ?

1 Answers  


What is RMI OP

1 Answers  


create a midp application,where user can enter player name and points.the program saves the information to the record using RMS at MIDP device.program should also print out the top 10 player list to the end user.

0 Answers  


What is SOAP ?

1 Answers  


What is PCS ?

1 Answers  


What is WDP ?

1 Answers  


What is PDAP ?

1 Answers  


What is LCDUI ?

6 Answers  


Categories