×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    4

    problems with menu

    Hi,

    I have a canvas (not fullscreen) and I added some commands to it.
    All commands are SCREEN type and have the same priority code (1), except for one command that I want to show separated (named "C1") that I gave priority 0.

    Well, in sony ericsson's devices that works as I wanted: it shows to softbuttons, one with the command "C1" and the other with a MENU that shows the other commands.

    But in nokia devices it groups all commands in a single menu, I can only use one softkey.

    am I doing something wrong? or nokia just doesn't mapp SCREEN commands that way?

    How could I fix it?

    thanks

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: problems with menu

    There is no guarantee how any given device will allocate Commands to softkeys or menus.

    Priority is of limited use. If you want Commands to appear on different keys, you have more chance if you give them different types. Again, there are no rules about what Command types go where.

    On Nokias, "positive" commands (OK) tend to go on the left, negative (CANCEL, BACK, EXIT) tend to go on the right. Of course, OK commands might go on the dpad centre.

    Watch out with Sony Ericssons, as some Command types get bound to the "back" key, and not to a softkey.

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: problems with menu

    Hi,
    Do you have the WTK documentation provided by sun.You must be having it..just go to..this and check that.what it says..
    The application uses the priority value to describe the importance of this command relative to other commands on the same screen. Priority values are integers, where a lower number indicates greater importance. The actual values are chosen by the application. A priority value of one might indicate the most important command, priority values of two, three, four, and so on indicate commands of lesser importance.

    Typically, the implementation first chooses the placement of a command based on the type of command and then places similar commands based on a priority order. This could mean that the command with the highest priority is placed so that user can trigger it directly and that commands with lower priority are placed on a menu. It is not an error for there to be commands on the same screen with the same priorities and types. If this occurs, the implementation will choose the order in which they are presented.
    You will be having the quick and correct idea..
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. How to desactivate the Menu Key ?...
    By GeKI in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-10-22, 10:02
  2. CEikEdwin in CAknDialog (Text Menu)
    By grapentin in forum Symbian User Interface
    Replies: 0
    Last Post: 2007-03-22, 09:47
  3. Replies: 0
    Last Post: 2007-03-13, 07:02
  4. Cascading menu
    By deepthis in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-07-18, 05:33
  5. Menu problems
    By SevenOfEleven in forum Mobile Java General
    Replies: 2
    Last Post: 2005-12-13, 00:39

Posting Permissions

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