Are managers of all easier attachment in OS 4.5?

Hello

Some time ago, I tried implementing a manager of attachments in OS 4.2 and abandoned once I realized that the name of the attachment must be prefixed and attachments were limited to 64 K or something else.

Since the OS 4.5 adds the ability to download attachments not supported (a nice addition) I was wondering if the Attachment Manager has improved in all the... I just spent a little frustrating hours trying everything I can think of to get a manager of attachments to work for a type 'unsupported' in the 4.5 OS, I am able to register a handler for the type, and my new menu item appears on the menu for the attachment at the bottom of the email (but not where the attachment appears at the top, probably because there isn't no content for the type Manager - but that's another issue).

Anyway, when I select the new menu option for my application I get the SupportedAttachmentPart through the run() method but getContent() return null and hasMore() is always false, that it is the same situation as earlier versions of OS.

My question is, in the OS 4.5 +, is there a way to retrieve an attachment that is not part of the taken default supported types and is not preceded by "x-rimdevice"?

Thank you!

Bruce

The operation of the AttachmentHandler interface has not changed.

However, version 4.5.0 of all the BlackBerry API introduces JSR 211 - Content Manager API.  This allows an application to register as a handler for a specific file type.  This can cause an attachment option to download in the Messages application if the file type matching.  When a user selects this option, the attachment is downloaded and injected into your application.

Take a look at the chapidemo included with version 4.5.0 + BlackBerry JDE for an example.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • The sound on Youtube repeats in about half a second then several voices

    The audio on YouTube starts, then about half a second later the same sound again so both play at the same time. It is so distorted I can't sound for one of the videos.

  • HP pavilion 15-p047nl: System disabled 87162881

    Hello I had this problem, cannot start windows, lost administrator password and the computer tell me: System disable [87162881], someone can help me, thank you very much

  • What model of FlexMotion nuLogic interface cards is it?

    Hello I am trying to replace the map shown on the attached photo, but I need the diagram of pin assignment. The only information that I was able to get the card, is that it is a nuLogic Inc. FlexMotion Interface BD. from 1995. I can't find a specific

  • Driver_Power_State_Failure (8 64-bit Windows)

    I get this message error a couple times a day: Driver_Power_State_Failure. When it restarts just lights up like nothing was wrong. I'll link a copy of the minidump file MSinfo32. Pelease help! https://www.dropbox.com/sh/dhwotf7sp9jn72y/MutTw-G1uk

  • Turn off Help!

    My PC motherboard has expired. I had replaced him but was not able to disable my Adobe software. Now I need to reactivate it, but the serial number is "in service". I also tried to disable a second PC, but I said that I am not connected to the intern