05-05-2010 06:30 AM
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
05-07-2010 02:02 PM - edited 05-07-2010 02:02 PM
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.
05-10-2010 05:04 AM
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 188.8.131.52 and
BB 8820 smartphone(EDGE, Wi-fi) v184.108.40.206.
05-10-2010 06:35 AM
I also tried MMS Demo in BB 9700 v220.127.116.111.
Not getting MMS . But showing successful sent message. but other end, its not reaching also.
Am I doing any wrong ?
05-10-2010 07:26 AM
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.
05-10-2010 08:47 AM
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 ?
05-10-2010 03:14 PM
Can you provide a sample URL (substitute the real phone number for a fake one)?
05-10-2010 11:04 PM
I am using this url
= (MessageConnection) Connector.open("mms://+91xxxxxxxxxx:test.ui.rim.plugin");
test.ui.rim.plugin, is the package name, as like in MMS Demo
05-11-2010 11:15 AM
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.