BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-15-2005, 05:14 PM   #1
DoomBringer
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2005
Model: 7280
Carrier: cingular, no wait, AT&T
Posts: 300
Default Context Message object

Please Login to Remove!

I registered a custom menu with the built in BB email application. The context object being passed when the BB invokes my run() function to me is the Message object that is currently on the screen.
My problem is that the Message passed to me does not have a Multipart content obtained by calling getContent() (so it seems...) when I know for a fact that it has attachments (I just added them!). The Message.getContent() call seems to return a BodyPart object, if not a TextBodyPart.
Is this a bug in the API (3.7 API failed to pass the proper Message object to start with)? Am I calling the right functions on the Message object (I call Message.getContent() on the Message object passed to me and cast the resulting Object to a Multipart object based on an instanceof statement)?
Are there any workarounds?
I am using JDE 3.7 and deploying to a BB 7280 running OS4.0.0.185 platform 1.6.1.48)
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


128K RAM - APPLE - ORIGINAL APPLE prototype BOARD picture

128K RAM - APPLE - ORIGINAL APPLE prototype BOARD

$408.75



APPLE 630-0895-B  VRAM 128K X 8 BOARD CARD VINTAGE picture

APPLE 630-0895-B VRAM 128K X 8 BOARD CARD VINTAGE

$74.77



APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD  picture

APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD

$149.99







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