Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 27
Registered: ‎06-18-2008
My Device: Not Specified

ApplicationMenuItemRepository doesn't works in jde 5.0

I'm having a problem trying to insert a menu into the sms interface for the jde 5.0


I'm using this code:



cm = new InsertContactMenu(0);
        ApplicationMenuItemRepository amir = ApplicationMenuItemRepository.getInstance();
        amir.addMenuItem(ApplicationMenuItemRepository.MENUITEM_SMS_EDIT, cm);


ApplicationMenuItemRepository amir = ApplicationMenuItemRepository.getInstance();

InsertTextMenu menu = new InsertTextMenu(0);       

amir.addMenuItem(ApplicationMenuItemRepository.MENUITEM_SMS_EDIT, menu);


I't work good for the JDE older versions, but the same code doesn't insert the menu for the JDE 5.0. There is some difference in the way to do it? 



BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: ApplicationMenuItemRepository doesn't works in jde 5.0

This is a known issue that has been logged in Issue Tracker here:  https://www.blackberry.com/jira/browse/JAVAAPI-574

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker