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


NEW Sick Photoelectric Switch Sensor WTV4-3P2241  picture

NEW Sick Photoelectric Switch Sensor WTV4-3P2241

$210.00



NEW ALLEN BRADLEY 806-D42 DRUM SWITCH REVERSING 4POLE STOCK 5480 picture

NEW ALLEN BRADLEY 806-D42 DRUM SWITCH REVERSING 4POLE STOCK 5480

$340.00



NEW ALLEN BRADLEY 806-D42 DRUM SWITCH REVERSING 4POLE STOCK 5474 picture

NEW ALLEN BRADLEY 806-D42 DRUM SWITCH REVERSING 4POLE STOCK 5474

$340.00



NEW ASCO 00092003001910C 100 AMP 920 REMOTE CONTROL SWITCH 3 POLE COIL 480 VAC picture

NEW ASCO 00092003001910C 100 AMP 920 REMOTE CONTROL SWITCH 3 POLE COIL 480 VAC

$1349.99



WPS30V 60V 120V 160V 2A 3A 5A 10A Lab Adjustable DC Power Supply Variable Switch picture

WPS30V 60V 120V 160V 2A 3A 5A 10A Lab Adjustable DC Power Supply Variable Switch

$110.19



Ignition / Key Switch w/ (2) Keys & Mounting Nut -Fits  Ford  Tractor picture

Ignition / Key Switch w/ (2) Keys & Mounting Nut -Fits Ford Tractor

$27.86







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