Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 51
Registered: ‎04-23-2009
My Device: Not Specified

Attachment handler problem, please help!

I try to add an attachment handle which handle doc, pdf and xls files. The code itself works fine if the test file have “x-rimdevice” prefix. How can I handle attachment without prefix?


Another problem is when my handler working, the original “open attachment” and “download attachment” button stop working! How could I add my handler and still keep blackberry original attachment service? Is it only allow one attachment handler?


I am not sure if I need CHAPIdemo stuff. Because I try to handle “supported” documents, I think the contenthandler will not be evoked for those files.


Please help. Thanks a lot. I am using JDE version 4.6 and tested with bold 9000.