×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    52

    Unhappy How to put more Softkeys in Nokia N97 application?

    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...
    Last edited by yatin_indianic; 2009-12-22 at 10:43.

  2. #2
    Registered User
    Join Date
    Oct 2004
    Posts
    28

    Re: How to put more Softkeys in Nokia N97 application?

    Any pointers?

    Were you able to get more soft keys on N97?

  3. #3
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    52

    Smile Re: How to put more Softkeys in Nokia N97 application?

    Quote Originally Posted by ABagga View Post
    Any pointers?

    Were you able to get more soft keys on N97?

    hello i have seen that in the contact application of Nokia N97 device,
    please check it ,

    when Nokia N97 shell(swt shell) full-screen mode is off, we see the two small square black space is created on the shell for putting default command,

    if you not understand then please create like

    Shell s1=new Shell(display,SWT.MAX);
    s1.setfullscreenmode(false);
    s1.open();

    then you see space for putting default command, and my question is that i want to show more than two command on it

  4. #4
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    76

    Re: How to put more Softkeys in Nokia N97 application?

    I am even looking for a way to add more commands. In landscape mode, the right panel is divided into 5 rows, but only the top and bottom contains commands. Is there a way to put some commands in the middle three?

    Thanks

  5. #5
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    76

    Re: How to put more Softkeys in Nokia N97 application?

    I am also looking for a way to add more commands. In landscape mode in N97, the right panel is divided into 5 rows, but only the top and bottom contains commands. Is there a way to put commands in the middle three rows?

    Thanks

  6. #6
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: How to put more Softkeys in Nokia N97 application?

    Hello,
    in S60,it is easy.

    I have recently posted some code about the Toolbars!
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  7. #7
    Regular Contributor
    Join Date
    Dec 2009
    Posts
    76

    Re: How to put more Softkeys in Nokia N97 application?

    @Tamhanna:
    Could you please provide a link of the toolbar code (for J2ME)?
    Last edited by mohitrb1; 2010-03-01 at 19:51. Reason: Need to specify that I am looking for a J2ME code

  8. #8
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: How to put more Softkeys in Nokia N97 application?

    Quote Originally Posted by mohitrb1 View Post
    @Tamhanna:
    Could you please provide a link of the toolbar code (for J2ME)?
    This thread is based on Symbian, so you might find solution for your query in J2ME section. Also I don't think there would be a ToolBar api for J2ME.

  9. #9
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: How to put more Softkeys in Nokia N97 application?

    Quote Originally Posted by mohitrb1 View Post
    @Tamhanna:
    Could you please provide a link of the toolbar code (for J2ME)?
    Native S60 only.

    but it is here:
    http://discussion.forum.nokia.com/fo...881#post708881
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

Similar Threads

  1. Python S60 Emulator
    By NAYSAMBO in forum Symbian
    Replies: 25
    Last Post: 2009-04-08, 10:22
  2. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16

Posting Permissions

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