Notify a BlackBerry device application that an MMS message is about to be sent
- Import the required classes and interfaces.
import net.rim.blackberry.api.mms.SendListener;
import net.rim.blackberry.api.mms.MMS;
- Implement the SendListener interface.
public class MMSSendListener implements SendListener{...}
- Create an instance of the class that implements the SendListener interface.
MMSSendListener mmsSL = new mmsSendListener();
- Add a SendListener instance.
MMS.addSendListener(mmsSL);
Was this information helpful? Send us your comments.