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
Contributor
jihadrh
Posts: 20
Registered: ‎03-11-2010
My Device: 9000
My Carrier: vodafone

Cannot recieve MMS with port usin WMA

Hi all,

 

I have a problem in receiving mms usin WMA Api. I am able to send MMS and this MMS will be received in message inbox of the destination mobile. But, when i add port while creating the Message Connection, am not able to send. In simulator, it will show illegal argument exception. And in device, no action is happening.

 

Any idea on this,

 

Thanks in advance :smileyhappy:

Please use plain text.
Administrator
MSohm
Posts: 14,521
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Cannot recieve MMS with port usin WMA

[ Edited ]

Do you see similar behaviour when using the mmsdemo included with the BlackBerry Java SDK and BlackBerry JDE?  What BlackBerry Smartphone model and BlackBerry device software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Contributor
jihadrh
Posts: 20
Registered: ‎03-11-2010
My Device: 9000
My Carrier: vodafone

Re: Cannot recieve MMS with port usin WMA

Hi MSohm...

thanks for ur reply.

 

I tried MMS Demo also. but its not workinng. Sending is showing successfully sent.

But in receiver side, nothing is happening.

 

Used  BB 8000 Smartphone(EDGE) v 4.5.0.37 and

BB 8820 smartphone(EDGE, Wi-fi) v4.5.0.110.

 

any idea.

Please use plain text.
Contributor
jihadrh
Posts: 20
Registered: ‎03-11-2010
My Device: 9000
My Carrier: vodafone

Re: Cannot recieve MMS with port usin WMA

I also tried MMS Demo in BB 9700 v5.0.0.351.

 

Not getting MMS . But showing successful sent message. but other end, its not reaching also.

 

Am I doing any wrong ?

 

Any idea?

Please use plain text.
Developer
ashutoshg
Posts: 140
Registered: ‎02-05-2009
My Device: 8900
My Carrier: Airtel India

Re: Cannot recieve MMS with port usin WMA

BB OS version 4.5 and lower version does not support MMS receiving.

Sometimes MMS comes on default inbox and does not contain sent data.

OS v 4.6 supports MMS functionaliy. plz review your code.

 

 

 

Please use plain text.
Contributor
jihadrh
Posts: 20
Registered: ‎03-11-2010
My Device: 9000
My Carrier: vodafone

Re: Cannot recieve MMS with port usin WMA

Hi,

 

i think its the problem with Port. I given package name of UiApplication class as port like in the MMS Demo . But its not creating the connection object itelf. Shows illegal Argument exception.

 

connection = Connector.open(url,READ_WRITE, true);

any idea ? :smileysad:

Please use plain text.
Administrator
MSohm
Posts: 14,521
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Cannot recieve MMS with port usin WMA

Can you provide a sample URL (substitute the real phone number for a fake one)?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Contributor
jihadrh
Posts: 20
Registered: ‎03-11-2010
My Device: 9000
My Carrier: vodafone

Re: Cannot recieve MMS with port usin WMA

Hi,

 

I am using this url

 

connection

 

 

= (MessageConnection) Connector.open("mms://+91xxxxxxxxxx:test.ui.rim.plugin");

 

test.ui.rim.plugin, is the package name, as like in MMS Demo

Please use plain text.
Administrator
MSohm
Posts: 14,521
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Cannot recieve MMS with port usin WMA

The IllegalArgumentException is triggered by the inclusion of the + prefix.  Your application would need to determine the appropriate country codes to be used in the URL.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.