Customize Menu in Blackberry - blackberry

I want to remove some of the menu items and also want to disable menu on click of the button on some screens of my application.

use addMenuItem and removeMenuItem(menuitem) to add and remove menuitems in blackberry.
Refer blackberry library links addMenuItem() and MenuItem Class

Related

Add custom menu option to JSQMessagesViewControllerCell

I am building a chat app that uses JSQMessagesViewController. The default functionality includes the ability for a user to long press a chat bubble which then presents a copy menu option (see screenshot). I would like to add an additional custom menu for reporting a comment. Ideally when the user long presses a chat bubble the menu now has two options, copy and report. Can someone please point me in the right direction for adding this custom menu button? Thank you!
See the demo file
https://github.com/jessesquires/JSQMessagesViewController/blob/develop/JSQMessagesDemo/DemoMessagesViewController.m
See the use of customAction

How can i remove system menu items in blackberry?

I want to remove system menus; for example, in the Message app I want to remove the Send option from the menu.
There is a way to add menus using
ApplicationMenuItemRepository.getInstance()
.addMenuItem(ApplicationMenuItemRepository.MENUITEM_SYSTEM, this);
and also to removeMenuItem() in the same way, but I'm not able to remove menu items.
How can I use this, or any alternate way, to remove menu?

Selecting from multiple lists in iOS (iPad)

I'm new to iOS developing and want to know how to make a menu (btn1,btn2,...) on which when you click on it to be taken to a list of documents (example1,example2,...) and when you on them to display a preview of the document, and the option to view it in iBooks or Pages.
Like the image below.
Thank you :)
http://i.stack.imgur.com/wEli4.png
You can make a UITableView to display various options. On selection of an option you can show them a UISplitViewController with left being a list and right side being a preview. Note that you cannot push a UISplitViewController but just add it as subview.

Adding custom menu item to BlackBerry "documents to go" app

Is it possible to add a custom menu item, such as "print", that can perform my specific task in the "documents to go" application?
AFAIK you can not add menu item to 3rd party app.

Altering the menu items of camera

I am invoking camera from my application. i want to remove few menu items that is provided by the camera application. how to do that.
Thanks alot
You can't remove menu items from native apps like Camera or Calendar.
You can only add menu items to some of them , but you can't add menu item to Camera neither.

Resources