Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2010

    Command Button in the middle


    when we add buttons in J2ME like form.addCommand(new Command ...), it will normally display at the bottom left or bottom right of the screen.

    How can i add a command button at the bottom's middle?


  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Cheshire, UK

    Re: Command Button in the middle

    Where a Command is placed depends on the device. You don't have any control, other than to use the command-type (such as Command.OK) to prompt the device to place the Command appropriately.

    If you want to customize your user interface, you can, by subclassing Canvas, but this is likely to reduce cross-device compatibility.


  3. #3
    Nokia Developer Expert
    Join Date
    Aug 2007

    Re: Command Button in the middle

    More information about Command mapping rules on Nokia platforms (Series 40 and Symbian) available in Forum Nokia Java Developer's Library:

    Java Developer's Library 3.5 > Developer's Guides > UI and graphics > LCDUI > Using the LCDUI > Command

    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Similar Threads

  1. Nokia 5800 XpressMusic accerated video decoders
    By Gingah in forum General Development Questions
    Replies: 4
    Last Post: 2009-07-06, 17:44
  2. uitricks - renaming middle button
    By mango7 in forum Symbian
    Replies: 4
    Last Post: 2008-11-14, 14:26
  3. Need to display text for middle soft key..
    By smanikandan14 in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-11-04, 09:30
  4. Replies: 5
    Last Post: 2008-01-10, 12:24
  5. Middle Select Button on Nokia 3650
    By njacharya21 in forum Mobile Java General
    Replies: 6
    Last Post: 2006-02-20, 18:51

Posting Permissions

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