java me - left and right command menus in LWUIT form -


Using the LWUIT Framework to Develop a Mobile App LWUIT by default puts the first command in the left and later commands It will be placed in the right menu of the form which has already been left in the form. I need to add two menus to formatting. In the left menu, the typical application specific commands such as "Reduce", "Back" and "Exit" in the right menu include screen-specific commands like "Play Video" etc. ... left in the beginning of the form The text "option" in the soft button and the correct softbutton of the form contains the text "menu" when the user selects "Options", then a menu will be displayed with the following command: at least back when the sub The yogi selects the right soft button "menu", a menu will appear on the screen with specific commands: play audio play video etc. ... The order of the right menu varies from one form to the other, while the left menu The order remains the same for all screens (forms). I know that the command menu can be optimized by overriding "Form.createCommandList (vector)" which returns a list. But in my case I need two lists (menu) on the left side of the form and one on the right side of the form. Please help me resolve this issue.

An LWUIT menu is just a dialog that contains a list (or button for touch menu or a lot more) To implement it, just create a command called option and put it in the left soft button when the option is pressed, then just show the dialog with your "extra command" since a list is a command array or vector Can accept whatever it does, it You can see the code of Menubar, which is very simple, you can change the menu bar component in the latest version of LWUIT (at this time SVN), but it seems inexcusable for this particular use case.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -