How can I replace the opened in the Mail application Menu item?

Hi all -

I want to provide my users through the queue of mail message. I receive a message formatted and I know I can add a customized via menu item

repository.addMenuItem (MENUITEM_MESSAGE_LIST, MyCustomMenuItem);

but it still requires the user select MyCustomMenuItem.

I can identify which messages are specific to my application, so I want to replace the menu item open for e-mail messages to call my manager rather than the method of 'open email message"default conditionally.

Can anyone provide assistance in how to achieve this? Or if this is not considered a best practices approach, what are the alternatives?

Thanks in advance.

Dave

I understand your point.  I think I'd in memory when I responded to your original post,

Go back and looking at some code:

You can get a reference to the message using MessageEvent.getMessage ().

You can then re-evaluate the flags:

Boolean isOpened = ((mssgFlags & Message.Flag.OPENED) == Message.Flag.OPENED);

Then you can say 'if the update and isOpened"to determine if the message was opened.

It seems to work for us.

I hope this helps.

Tags: BlackBerry Developers

Similar Questions

  • How can we replace the display of a keon?

    I am a representative of the Mozilla's Rwanda.

    I gave one of the 3 keons, I got from Remo to a member of my community to work on applications, and the screen is broken on his watch. How can I replace the screen?

    AZ charadi
    Mozilla Rwanda Rep
    https://mozillians.org/en-US/u/AZ/ | https://reps.Mozilla.org/u/AZ/

    AzAnitah said

    I am a representative of the Mozilla's Rwanda.

    I gave one of the 3 keons, I got from Remo to a member of my community to work on applications, and the screen is broken on his watch. How can I replace the screen?

    AZ charadi
    Mozilla Rwanda Rep
    https://mozillians.org/en-US/u/AZ/ | https://reps.Mozilla.org/u/AZ/

    Hi Liz Az,.
    I think it will be better if consult you with the Center nearest mobile maintenance any hardware problem.

  • How can I replace the Playlists tab on bottom of Apple's music with the Connect tab?

    How can I replace the Playlists tab on bottom of Apple's music with the Connect tab?

    Found my own answer online.  It's in the Restrictions under settings.

  • How can I replace the cooling on an Acer V5 fan?

    How can I replace the cooling on an Acer V5 fan?

    I sent you a private message

  • I have 2 orange records for professionals but Windows XP cannot find the CD - how can I replace the CD? __

    I have 2 orange folders for Windows XP Professional, but it is impossible to find the CD - how can I replace the CD?

    I made myself, and it will cost about $23 (assuming, of course, that you have the product key)...

    How to replace Microsoft software or hardware, order service packs and upgrades, and replace product manuals...

    http://support.Microsoft.com/default.aspx?kbid=326246

  • How can I replace the old system of comments by Disqus?

    How can I replace the old system of Business Catalyst with Disqus comments? Help, please

    The universal integration for Disqus code is just javascript.  You must register for an account on http://disqus.com/for-websites/ and set up your account first.  Once you have changed your settings, click on the link 'Install' and which will give you code javascript to add to your pages as well as a few other tips to make it work.

  • How can I replace the same clips with the same interval of time (same settings)?

    Dear Adobe Premiere CS5 Forum,

    I have the following problem, and I would look forward to receiving solutions:

    As I couldn't cut my video with clips in avi codecs (it is very difficult to cut in avi codecs, except that you have a very fast computer), I converted my raw clips in lower codecs. Then I cut my video in low quality codecs. My video is now ready to export.

    But before I want to export my video, I need to replace all the clips in avi codes so that my video is in good quality.

    Now the problem:

    How can I replace the clips (poor quality video codec codec avi), in order to have the same clips in a different codec always the same interval of time. I want the replaced clip immediately have the same interval of time.

    For example: a raw whole clip takes 2 minutes. But just a part / interval of the clip (from 01:00 minute 01:10 minutes) is shown in the video. Now I want to replace this clip with the same clip in avi codec. But it must be the same interval (from 01:00 minute 01:10 minutes).

    I tried to replace a clip. But they each have a different time interval (the lower quality clip is from 01:00 to 01:10 minutes and if I would like to replace the same clip in avi codec is the time interval between 0:00 to 0:10 minutes).

    How can I replace the clip with the same interval of time?

    Thanks in advance

    Leonardo

    Hold down the Alt + Shift; It is Shift that maintains the reference timecode. In addition, this will work only if your proxy clips contains timecode. If they all start to 00:00:00:00, this will not work for you.

  • How can I remove the button from menu? The custom option doesn't seem to work for this.

    How can I remove the button from menu? [This IChing looking for three line on the toolbar icon].

    The tool bar Customize option doesn't seem to work, and it seems a waste to have a button that duplicates the menus. I would trade on the NoScript icon.

    Hi, I can not recommend that you do, but if you are really determined, this article can help.

  • How can I keep the dock and menu bar in the window

    How can I keep the dock and menu bar in the window

    First of all, go to System Preferences and select general:

    Under the dark menu and dock option, uncheck "hide and show the menu bar automatically".

    Go back and select Dock Prefs system:

    Make sure that "automatically hide / show the dock" is not checked.

  • How can I tell the mail client to search for new mail on the server?

    How can I tell the mail client to search for new mail on the server?

    Within the Mail app and display the Inbox you can pull down on the list of e-mail using your finger and you should see a small reel spinning gear. Which indicates that his check new email.

    You can also go into the settings of e-mail and calendars Contacts and view the settings there. Examine the settings of "search for new data. If the Push is enabled, then messages will be pushed to you if the email provider supports this feature. You can also set your accounts to use Fetch and set the frequency, he's going to go out and look for new e-mail messages.

  • How can I find the total number of items in a dim multi table

    How can I find the total number of items in a simple Sun table or multi?

    For example, a table 2 x 3 has 6 elements, and a 2 x 3 x 4 to 24. How can I calculate this very easily - is there a single VI do that?

    David

    Use "table size" (palette table) followed by "multiply the elements of the array" (digital palette)

    (Also works well for 3D arrays and higher)

  • How can I change the "right click" menu for a table control?

    Hello

    How can I change the "right-click menu" of a table control. I would like to be able to remove the ability to add or remove columns and maybe more selections. I want to keep the possibility of

    Add or remove lines

    Right-click on your table.  Then go to advanced-> DURATION Shortcut Menu-> Edit.

  • How can I disable the Adobe applications that were installed on a computer that is no longer available?

    How can I disable the Adobe applications that were installed on a computer that is no longer available? I have a creative cloud subscription, and I want to disable a device that is no longer available. I would have thought that there will be an option to disable all devices somewhere in my account, but I can't.

    This isn't what Mary said.  You get 2 facilities by title.  You should have disabled software on your old machine first, but since you have now 2 methods to disable older facilities.

    My first recommendation was to contact support with your product purchase information and disable them.

    Mary offered another option which is to go ahead and install the software on your new hard drive.   If an error saying: you have exceeded the limit of 2 machine, press the button continue to disable older facilities.  You will then be able to install on you're your new hard drive plus one more.

    Make sense?

    Nancy O.

  • How can I replace the windows with ScanGear tool analysis tool much better? MX882 on Windows 10 Pro. ?

    I have a PC on which I instaled the Canon drivers live cannon and I love the ScanGear interface. It surved upgrade Windows 7 to 10 Professional. On the other hand, for my other PC in the home group, I let windows install the drivers for the MX882. Scanning windows interface is limited! How can I get the ScanGear interface to replace the windows tool?

    Thank you!

    B

    ScanGear is just the scanner driver. Are you talking about software, Canon MP Navigator EX scanning? Which is available for download from the Web site.

  • How can I replace the video card in my Pavilion a6357c desktop PC

    My monitor is completely empty - and on the health check - free service at Office Depot - looks like my video card is nonfunctional - how can I buy the part and change the video or equivalent card?

    cschan wrote... "I tried to look it up to accesorries in HP Web site or on the internet / amazon etc to find a similar card, but to no avail as the map is not clearly specified on the specs of the computer, nor on the removed card from the computer.

    @cschan... As I mentioned previously, your system is not a graphics card... the graphical subsystem is part of what is called the chipset. Your computer will accept almost any card PCIe x 16 market chart, however the 250 watt power supply will limit your choices. Buying a new power supply will give you more chioces, but it's an additional expense. The two components will run around $100 - $150.

    I would say a little more troubleshooting before investing in some new parts. Borrow a well-known work PCIe x 16 graphics card and install it in your computer to see if your problem persists.

    Frank

Maybe you are looking for

  • Printer printing

    I just installed 4 new color cartridges in my Brother HL3070cw Brother - now every time I have to print something I get a red stripe on the left edge of the document.  I had the impression for 2 years & it has never happened before.  Any suggestions?

  • Stop: 0x0000007E(0xc0000005,0x8070194F,0xF7BB4C30,0xF7BB492C)

    Started getting a blue screen with he above error message.  Seems to happen when I go to eject a disc in my DVD player.  Also when I go to play a computer game, I get the following message "cannot locate CD RROMA" - "Please insert the right CD-ROM, s

  • Save the post - can we do it?

    If I'm listening to a track, pause and leave the long view, enough that he went to sleep so he can not remember where I was - he let me back at the beginning of the whole album I was listening! Is it possible to tell him I want to exercise where I wa

  • your account has been closed due to violation of the terms and conditions

    my e-mail account has been infiltrated and it starts by sending spam to everyone on my contact list, I sent a copy to spam@hotmail, but have now had my account closed. How he reactivated

  • Popups annoying on second Manager when the display manager is running

    Hello I have a Dell U2414H monitor HDMI port and an old 17 "Sony SDM S73 secondary monitor on VGA connection.  When the display manager is running, I get a popup on the Sony monitor that says "auto" , then "ADC success" about every minute. The popup