hi
my name is yatin Baraiya
hello i had see the application of Nokia N97 with more soft keys in soft keys area (such as Command like back, OK, select ,add,cancel etc....),mainly i had see in right side of landscape screen areas of Nokia N97 , i have developed one application in j2me with only two soft keys "cancel" command and "OK" command , when i put more command such as "ADD" command then option soft keys is created automatically and it contain two commands "OK" and "ADD".
My question is that can we showing all the commands visible in right side of landscape screen area of Nokia N97? such as like not command option with sub command OK and ADD , but visible all three command "Cancel" "OK" and "ADD" in right side of landscape screen area of Nokia N97.if it is possible? then how to do that? how to implement that?please give some java code help for that?
my code is just like that
private final Command okCommand;
private final Command cancelCommand;
private final Command addCommand;
private final Command playNoteCommand;
private final Command deleteNoteCommand;
browserShell = new MobileShell(Display.getCurrent(),SWT.MAX);
browserShell.setLayout(new FillLayout(SWT.VERTICAL));
okCommand = new Command(browserShell, Command.EXIT, 1);
okCommand.setText(BACK_COMMAND_TEXT1);
okCommand.addSelectionListener(this);
cancelCommand = new Command(browserShell, Command.EXIT, 1);
cancelCommand.setText(BACK_COMMAND_TEXT1);
cancelCommand.addSelectionListener(this);
.
.
.
.
.
.
................same above for add command and others...

Reply With Quote


