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
Developer
JoelParker
Posts: 34
Registered: ‎12-04-2008
My Device: Not Specified
Accepted Solution

Detecting an Outgoing MMS Message

I know an OutboundMessageListener class can be used to detect an outgoing sms message. Does anyone know what class to use to detect an outgoing MMS message ?
Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: Detecting an Outgoing MMS Message

As I checked in JavaDoc there is no additional interface for outgoing message.

 

What if try to use BINARY message type. Seems that MMS is a BINARY message.

 

It should work for all messages, binary (mms) and text (sms).

Please use plain text.
Developer
JoelParker
Posts: 34
Registered: ‎12-04-2008
My Device: Not Specified

Re: Detecting an Outgoing MMS Message

It was my understanding that MMS uses the GPRS network while SMS uses the GSM network. Therfore an MMS is not simply a binary SMS but in fact a different message type altogether. Thats why I was thinking there might be another class deticated the detection of outgoing MMS messages. Am I missing something ?

Please use plain text.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: Detecting an Outgoing MMS Message

[ Edited ]

From low-level point of view MMS consists of two parts.

 

1. The main part - stored on wireless provider's WAP-server 

2. The second part - a special SMS message

 

If receiver's phone supports MMS then on the phone screen displayed the acknowledgement about incoming MMS and offer to download the main part. If receiver's phone does not support MMS then phone receives a simple sms with wap-link to the main part.

 

Thus MMS is like a top-hamper over SMS and WAP services.

 

Message Edited by tbilisoft on 15-12-2008 06:34 AM
Please use plain text.
Developer
JoelParker
Posts: 34
Registered: ‎12-04-2008
My Device: Not Specified

Re: Detecting an Outgoing MMS Message

The interface works for an outgoing text message but does not detect an outgoing MMS or binary message is there something deifferent I need to do in the code ?
Please use plain text.
Administrator
MSohm
Posts: 14,446
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Detecting an Outgoing MMS Message

Version 4.6.0 of the BlackBerry API set added support for listening for outgoing MMS messages.  You can use the MMS class to add a SendListener that is fired when a MMS message is sent.
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.
Developer
JoelParker
Posts: 34
Registered: ‎12-04-2008
My Device: Not Specified

Re: Detecting an Outgoing MMS Message

Thanks.
Please use plain text.
Developer
JoelParker
Posts: 34
Registered: ‎12-04-2008
My Device: Not Specified

Re: Detecting an Outgoing MMS Message

How would you do it prior to this OS release ?
Please use plain text.
Developer
JoelParker
Posts: 34
Registered: ‎12-04-2008
My Device: Not Specified

Re: Detecting an Outgoing MMS Message

I am using JDE version 4.2.1
Please use plain text.
Administrator
MSohm
Posts: 14,446
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Detecting an Outgoing MMS Message

This is not supported in BlackBerry handheld software lower than 4.6.0.

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.