Add DTMF tones to the send queue

  1. Import the required class.
    import net.rim.blackberry.api.phone.PhoneCall;
    • To add a single DTMF tone to the send queue, invoke PhoneCall.sendDTMFTone().
      PhoneCall pc = new PhoneCall();
      boolean added = pc.sendDTMFTone('7');
    • To add multiple DTMF tones to the send queue, invoke PhoneCall.sendDTMFTones().
      PhoneCall ph = new PhoneCall();
      boolean added = ph.sendDTMFTones("72");

Was this information helpful? Send us your comments.