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


1500 / 1550 Microlink - Used - incl. warranty - shipped within 1 business day picture

1500 / 1550 Microlink - Used - incl. warranty - shipped within 1 business day

$804.00



Measurement Computing 197728B USB 1608HS-2A0 16-Channel Digital DAQ +2 Analog picture

Measurement Computing 197728B USB 1608HS-2A0 16-Channel Digital DAQ +2 Analog

$422.50



Onset Computer Analog/Temp/RH/Light Data Logger MX1104 Onset Computer MX1104 picture

Onset Computer Analog/Temp/RH/Light Data Logger MX1104 Onset Computer MX1104

$261.31



Computer Boards Measurement Computing PCM-DAS08 picture

Computer Boards Measurement Computing PCM-DAS08

$200.00



Onset Computer Mx1104 Analog/Temp/Rh/Light Data Logger picture

Onset Computer Mx1104 Analog/Temp/Rh/Light Data Logger

$208.99



MEASUREMENT COMPUTING PCI-DDA08/16 8-channel, 16-bit Analog Output Board 48 D IO picture

MEASUREMENT COMPUTING PCI-DDA08/16 8-channel, 16-bit Analog Output Board 48 D IO

$349.99







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