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


REEBOK MEMORY TECH MASSAGE STEEL TOE WORK SHOES Slip On Men’s 6W Women’s 8W picture

REEBOK MEMORY TECH MASSAGE STEEL TOE WORK SHOES Slip On Men’s 6W Women’s 8W

$49.99



New Sealed Allen Bradley 1766-MM1 Ser B MicroLogix 1400 Memory Module AB 1766MM1 picture

New Sealed Allen Bradley 1766-MM1 Ser B MicroLogix 1400 Memory Module AB 1766MM1

$135.00



Voice Activated Listening Device Audio 150 Day Battery Spy Recorder 16 GB picture

Voice Activated Listening Device Audio 150 Day Battery Spy Recorder 16 GB

$109.00



New Factory Sealed AB 1756-L61 SER B ControlLogix 2MB Memory Controller 1756L61 picture

New Factory Sealed AB 1756-L61 SER B ControlLogix 2MB Memory Controller 1756L61

$304.69



1766-MM1 AB MicroLogix 1400 Memory Module 1766-MM1 Spot Goods #XG2 picture

1766-MM1 AB MicroLogix 1400 Memory Module 1766-MM1 Spot Goods #XG2

$160.99



AVNET ULTRAZED SOM ZYNQ ULTRASCALE+ XCZU3EG SYSTEM ON MODULE -  picture

AVNET ULTRAZED SOM ZYNQ ULTRASCALE+ XCZU3EG SYSTEM ON MODULE -

$98.67







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