Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2007

    command button problem with s60 phones

    Hi i have problem with my command buttons on a full canvas class. the problem is that when i click on a command button, a sub menu apears which highlights the command button name and gives me the option to press ok or cancel (see link)


    What i want it to do instead is that has soon has the user presses the command button, the action in which corresponds to that command button executes straight away instead of a user having to select and click the ok button again..

    So has soon as i press the left command button, a menu pops up.. at the moment it doesnt and seems to be a problem with nokia phones in general has i tested it out on a 6680 and a 6300
    Edit/Delete Message

  2. #2
    Regular Contributor
    Join Date
    Mar 2007

    Re: command button problem with s60 phones

    You should use Canvas.keyPressed(int keyCode) for that. The situation you described will happen anyway when using commands..

    Note: if you use only Canvas, will you not be able to listen to softkeys. So you have to use FullCanvas, which you are already doing. =)


Similar Threads

  1. InputStream.skip() problem on S60 handsets
    By psycohk in forum Mobile Java General
    Replies: 3
    Last Post: 2007-11-16, 08:41
  2. Nokia, do you listen to your customers? Problems of your new phones
    By djprofessork in forum General Development Questions
    Replies: 3
    Last Post: 2007-09-24, 15:15
  3. S60 3rd MR1 porting, BAFL 4, resource problem?
    By danielos1 in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2007-03-19, 15:10
  4. Replies: 2
    Last Post: 2006-05-02, 07:19
  5. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

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