i am coding in blackberry jde.
but i am confused by the “short menu” and “full menu”,
for instance,how can i make a menuitem show only in “full menu” ? thx for ye help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All the menu constructing code should be within the makeMenu function of the Screen. That’s where you will populate your menu with the options your screen needs. The makeMenu function has a parameter called instance. This defines the kind of menu that needs to be made and you can key off of this for what should be added to specific menu types.
So, what you can do is add all your menu items for the short menu no matter what the instance is and then have the following if statement that would add all the menu items for the full menu:
Menu class JavaDocs