I am bit confused what the following means:
new Command("Info", Command.SCREEN, 1);
here what 1 means. what do you mean priority here? Does it mean that if I will set some command at 1 some at 2 some at 3 they will come into that order i.e.:
all 0 will first
than all 1
...will go like this.
What i was trying to acheive is:
Have some 12 option to choose from and would like that I should show first six on first screen with an option More.. and than all other on next screen. I am using Command class here. Is it possible?
Pl give me your suggestion.
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.
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.
Priorities should determine the relative placements of buttons in the SAME display. I think the actual behaviour is device specific. But it cannot push the low priority buttons to the next display.