You Are Here:

Community: Developer Discussion Boards

#1 Old how to add command in FullCanvas - 2003-08-14, 04:00

Join Date: Aug 2003
Posts: 8
ihadreampp
Offline
Registered User
I want to add CommandListener and Command into a FullCanvas, but I found it is not allowed to do that when I ran the MIDlet. Could anybody tell me how to solve this problem? Or please tell me aother solution to add Command and CommandListener into nokia 7650 full sreen mode. Thanks!
Reply With Quote

#2 Old 2003-08-14, 08:32

Join Date: Jun 2003
Posts: 75
fabiolee
Offline
Regular Contributor
u can use keyPressed function:

protected void keyPressed(int keyCode) {
switch(keyCode) {
case KEY_SOFTKEY1:
case KEY_SOFTKEY2:
// do something
break;
}
repaint();
}

hope it may help u :)
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia