Package com.motorola.oem.call

Call Package - Dial, answer and control simple voice or data(CSD) calls.

See:
          Description

Interface Summary
CallAlertListener A listener type for receiving Call Alert notifications.
CallStateListener A listener type for receiving Call State Change notifications.
DataCallConnection This interface defines the GSM Network data call stream connection.
 

Class Summary
Call The Call class is used for organization and management of MO/MT voice and data calls.
DataCallConfig This Class holds the Data Call Configuration parameters.
 

Exception Summary
CallException Specific exception type for the Call API.
 

Package com.motorola.oem.call Description

Call Package - Dial, answer and control simple voice or data(CSD) calls. Once a data call is active, transferring binary data is possible using standard Input/Output stream interface.

Outgoing call state diagram



Incoming call state diagram



Example:

Make common voice call.


     import javax.microedition.io.*;
     import com.motorola.oem.*;
     import com.motorola.oem.call.*;

     public class UserMIDlet ... {
     ....
            protected void startApp() ... {
                  Call my_call = new Call();
                  try {
                        my_call.dial("xxxxxxxxx",0); // xxxxxxxxx - destination tel. number
                  } catch (CallException e) {
                        e.printStackTrace();
                  }
       }
     }