View Single Post
Old 08-11-2008, 03:18 AM   #3 (permalink)
Knows Where the Search Button Is
Join Date: May 2007
Location: indonesia
Model: 8800
Carrier: vodafone
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts

Originally Posted by simon.hain View Post
you have to implement an attachmenthandler for your content-type first.
you have to prefix your file with x-rimdevice or it will not be delivered to your handheld (you could change some settings on the bes, alternatively).
Thanks simon,
i will try it first.

i will rename my attachment to: x-rimdevice-filename.ext

about the attachment handler, should i register to AttachmentManager
before i can get the attachment (BodyPart index number 1) via Transport.More()?
or register to Attachment as just an option for blackberry to recognize
my attachment as instanceof SupportedAttachmentPart?

i already read your post (in 2005) about retrieve attachment,
now i have same problem, i can't getContent() because it size==0.

Offline   Reply With Quote