Welcome!

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

Reply
New Contributor
kpirnpuu
Posts: 5
Registered: ‎06-09-2010
My Device: BB 9900
Accepted Solution

Opening MessageConnection with mms protocol prefix, phone number and application ID fails

Connector class API docomentation says when sending MMS to Java application MessageConnection can be opened with following URL "mms://[<peer_address>]:[<application_Id>]". However when I pass for example "mms://+1234567890:myappID" to Connector.open() IllegalArgumentException is thrown with message "Invalid URL". Opening MessageConnection with "mms://+1234567890" works fine. It can be reproduced on BB 9105 but BB 9900 is not affected. Is there any workaround for this issue so that I can still be able to send MMS to another Java application?

New Contributor
kpirnpuu
Posts: 5
Registered: ‎06-09-2010
My Device: BB 9900

Re: Opening MessageConnection with mms protocol prefix, phone number and application ID fails

I mistakenly told it's working on BB 9900, actually there is same problem.

New Contributor
kpirnpuu
Posts: 5
Registered: ‎06-09-2010
My Device: BB 9900

Re: Opening MessageConnection with mms protocol prefix, phone number and application ID fails