开发者

How to send dtmf tones using BlackBerry API?

开发者 https://www.devze.com 2022-12-17 07:39 出处:网络
I have tried to use 开发者_JAVA技巧 PhoneArguments phoneArgs = new PhoneArguments(PhoneArguments.ARG_CALL, num);

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

精彩评论

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