Notify a BlackBerry device application that an MMS message is about to be sent

  1. Import the required classes and interfaces.
    import net.rim.blackberry.api.mms.SendListener;
    import net.rim.blackberry.api.mms.MMS;
  2. Implement the SendListener interface.
    public class MMSSendListener implements SendListener{...}
  3. Create an instance of the class that implements the SendListener interface.
    MMSSendListener mmsSL = new mmsSendListener();
  4. Add a SendListener instance.

Was this information helpful? Send us your comments.