×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    19

    How to remove Soft keys

    Hi friends,

    I developed a small application. On sony phones it is working fine. But when trying on Nokia phones (Ngage) I am seeing "Exit" button provided by the phone.
    In my application I am already providing "Close" menu button.

    I need help for the following issues

    1) How to remove the default-menu-items provided by Nokia.
    2) I want to get certification from Java-Verified for this application. Can I
    use single certificate for all the Java-phones?

    Please help me.

    Thanks a lot in advance

    -----
    Ravi

  2. #2
    Regular Contributor
    Join Date
    Mar 2005
    Posts
    249

    Re: How to remove Soft keys

    Answer to 1:

    Unfortunately, tou cannot remove it. If it annnoys you that much, you can reprogram everything to use full canvas, which is annoying in a different way.

    Cheers.

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    19

    Re: How to remove Soft keys

    Thanks for your immeadiate reply, Imtang.

    But I am using J2ME SDK 1.04. And I did't find any "Full Canvas" feature. Can you please send me some sample code for "full canvas".

  4. #4
    Regular Contributor
    Join Date
    Mar 2005
    Posts
    249

    Re: How to remove Soft keys

    Sorry. I wasn't very clear with my terminology.

    You have to use Canvas (or GameCanvas if you are programming a game) and use the setFullScreenMode() method. However, this is low level API, meaning if you are currently using High level API (forms, Customs items etc)... it will be a big pain.

    For commands, you have to "paint" the commands onto the screen if you use this method and want to override the default "close button", and listen for key input from the user.

    Imo, it is not worth the hassle unless it's desperately needed (eg. for a game). In most cases, I'd suggest leaving Nokia's default "close" button there.

    Links abt Canvas:
    http://developers.sun.com/techtopics...vas/index.html
    http://today.java.net/pub/a/today/20...html?page=last
    http://www-128.ibm.com/developerwork...a-j2me2-i.html

    Cheers.

  5. #5
    Registered User
    Join Date
    Mar 2008
    Posts
    5

    Re: How to remove Soft keys

    Quote Originally Posted by aravindra View Post
    Hi friends,

    I developed a small application. On sony phones it is working fine. But when trying on Nokia phones (Ngage) I am seeing "Exit" button provided by the phone.
    In my application I am already providing "Close" menu button.

    I need help for the following issues

    1) How to remove the default-menu-items provided by Nokia.
    2) I want to get certification from Java-Verified for this application. Can I
    use single certificate for all the Java-phones?

    Please help me.

    Thanks a lot in advance

    -----
    Ravi
    Hello Ravi. I think we have a similar problem. In my case I'm displaying a list, and the phone is providing a default "SELECT" command as a soft key in the middle, which is not responding to the key presses. Though I have my own select command. Please if you get a solution to this problem, just be free to share it with me. Thanks in advance

    ------
    Elly

  6. #6
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How to remove Soft keys

    for Lists its pretty simple :

    use the commandlistener and compare the provided Command c to List.select as in

    if(c == List.select)
    do something

    Hope I helped u out

    off-topic : elly, diminuitive for eleonora ?

  7. #7
    Regular Contributor
    Join Date
    Apr 2007
    Location
    Bangalore, India
    Posts
    81

    Re: How to remove Soft keys

    u can remove the Default SELECT command provided by phone on list by using list.removeCommand(List.SELECT_COMMAND)

    Thanks.
    Girdhar

Similar Threads

  1. The Left and Right Soft Keys
    By nimbus_cloud in forum Symbian
    Replies: 19
    Last Post: 2009-02-10, 11:18
  2. My soft Keys of Nokia 6600 are not working for my application
    By ummarbhutta in forum Mobile Java General
    Replies: 6
    Last Post: 2006-03-27, 22:16
  3. Commands in left and right soft keys
    By jinesh_l in forum Mobile Java General
    Replies: 2
    Last Post: 2005-08-17, 04:45
  4. don't want to show left soft keys
    By alice77 in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-11-05, 06:17
  5. soft keys not working in 3650 for FullCanvas
    By chandanp in forum Mobile Java General
    Replies: 0
    Last Post: 2002-11-06, 09:33

Posting Permissions

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