BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 05-26-2005, 03:31 AM   #1 (permalink)
New Member
 
Join Date: May 2005
Model: 7290
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default email attachments

Please Login to Remove!

Dear all,

I'm developing an application to run on a BlackBerry device that uses the email attachments.

When I try to retrieve the attachments of an email in the real device I see that the attachment:

- has as ContentType application/octet-stream

- is an UnsupportedAttachmentPart

I have tried to add to the name of our attachments the prefix x-rimdevice, but I obtain always an UnsupportedAttachmentPart

Is it possible to retrieve the stream of bytes from the UnsupportedAttachmentPart class?

I have tried with the methods getInputStream() but it returns null

I have seen on the javadoc that the method getContents return an UnknownMimePartModel class, but I have not found information on this class.

Could somebody help me?

Thank you very much
Andrea
Offline  
Old 05-26-2005, 11:50 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2005
Model: 7280
Carrier: cingular, no wait, AT&T
Posts: 300
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

working with attachments on a BB = serious pain in the ***
This UnknownMimePartModel class isn't in any of the javadocs, so it either doesn't exist or is a protected inner class.
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

ST Micro 2 Gbit Flash NAND Memory IC NAND02GW3B2D SMT VBGA63 - NOS Qty 4
$9.99
ST Micro 2 Gbit Flash NAND Memory IC NAND02GW3B2D SMT VBGA63 - NOS Qty 4 pictureMemory Foam Kidz Standard-Size Memory Foam Pillow Blue, New
$150.0
Memory Foam Kidz Standard-Size Memory Foam Pillow Blue, New pictureletobe Wireless Barcode Scanner Tags Reader with USB Memory Adapter for Invento
$47.85
letobe Wireless Barcode Scanner Tags Reader with USB Memory Adapter for Invento pictureLOT OF 16 PCS. SPANSION AM29F010B-70EF Flash Memory 1M (128Kx8) 70ns 5v Parallel
$62.5
LOT OF 16 PCS. SPANSION AM29F010B-70EF Flash Memory 1M (128Kx8) 70ns 5v Parallel pictureLOT OF 12 PCS. SPANSION AM29F200BB-70EF Flash Memory 2M (256KX8/128KX16)
$49.9
LOT OF 12 PCS. SPANSION  AM29F200BB-70EF Flash Memory 2M (256KX8/128KX16) picture






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