开发者

How to send dtmf tones using BlackBerry API?

I have tried to use

开发者_JAVA技巧
    PhoneArguments phoneArgs = new PhoneArguments(PhoneArguments.ARG_CALL, num);
    Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, phoneArgs);
    PhoneCall call = Phone.getActiveCall();
    call.sendDTMFTones(tones);

but it doesnt work.

Can anyone point me to a working code snippet for sending DTMF?

regards

Tom


Did you try sending them one at a time? Are you checking the return value of sendDTMFTones() ?

PhoneCall pc = new PhoneCall();
boolean added = pc.sendDTMFTone(7);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜