Context Sensitive Menus - Java ME -


I'm trying to create a context-sensitive command list. I have set the command. IME was an option for all my command buttons but I could not find any way to provide the following functionality:

I have a list of values, for A, B, CA, 2 in my command menu Should be in the command menu for I (cursor) B, when I go to C, the command should have at least 2,1, when I go back to A, in the A command menu It should be (2,4)

Use it files and files The Sikaon can be used to list:

When you choose a file, I want to edit to open the options (order), and delete. When I select a directory, I just want to open and delete the command.

Thanks in advance for any help to point in the right direction.

specification for class (javax.microedition.lcdui.form Sounds like what you are using):

"These traversing and scrolling operations are not the cause of application-view events"

Even before the command menu is displayed No method.

All this means that you

based on the J2MM implementation on the specific phone you are targeting, javax.microedition.lcdui CustomItem.getInteractionModes () You can tell if you can use a custom item in your form to create a context-sensitive menu.

This is the only definite way on all phones, using a javax.microedition.lcdui .Canvas and reinforce the controls that you need them by drawing y Is ourself You can keep track of a "selected" and populate your own command menu before appearing in the lower level of keypressed () events.

Check the LWUIT open source library for an intermediary solution.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -