BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 10-22-2010, 02:35 PM   #1 (permalink)
New Member
Join Date: Oct 2010
Model: many
Carrier: many
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating dialogs while in net_rim_bb_options_app

Please Login to Remove!

Is it possible to have a registered menu item create dialogs using Dialog.inform() or display status messages via I've got a menu item registered for MENUITEM_SYSTEM. It appears in every menu I've found, as expected. It also works properly in all of them except the Options app, where it dies after attempting to show the user some info.

The app is built against the 4.5 JDE, though the device I'm testing on is a BlackBerry 8900 running OS version I've also seen it also occurs on a Verizon 8530 running OS, so it's not tied directly to a specific device or carrier.

The registration of the menu item:

The relevant bits of the run method:

public Object run(Object aContext) {
   try {
      Logger.logDebug("FilteringMenuItem", "run", "pre");
      Logger.logDebug("FilteringMenuItem", "run", "post");
   } catch (Exception e) {
      Logger.logException(TAG, CONTEXT, "Exception caught.", e);

   return null;
When I'm on any screen but the options my log statements are written and the dialog shows properly. When I'm in the options menu the dialog does not display and logging stops at "pre" meaning the Dialog.inform call neither returns normally nor throws an error. I've also tried using with the same results.

Interestingly, if I drill down deeper into some of the choices in the options app, the dialog will sometimes show. For example, it does not show if the "About" or "Advanced Options" screens are active, but will show when in "Bluetooth," "Date/Time," or "MMS".

Does net_rim_bb_options_app swallow dialog boxes, or is there something special needs to be done to enable an application to show them there?

Last edited by James McMurray : 10-22-2010 at 02:36 PM.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.