The Telephony API allows a MIDlet to make a voice call, however, the user needs to
confirm the action before any voice call is made. The reason for the confirmation is to
provide a measure of security from rogue applications overtaking the handset.
Unlike standard TAPI, the wireless Telephony API provide simple function and simple
even listener: startCall (), send ExtNo(), and endCall (), DialerListener.
The tables below describe the Interface and Class Summary:
Interface Summary
DialerListener
DialerListener
The
notified of phone call event.
Class Summary
Dialer
The Dialer class defines the basic functionality for start and end phone
call.
DialerEvent The DialerEvent class defines phone call events.
Dialer Class
The dialer Class can be used to start and end a phone call and user listener to receive an
event. The applications use a Dialer to make a phone call and use DialerListener to
receive event.
Class DialerEvent
The DialerEvent class defines phone call events. The table below describes the Field
Summary:
Summary
static byte PHONE_VOICECALL_CONNECT
Phone call was connected event
72
Telephony API
interface provides a mechanism for the application to be
17