开发者

How to Transfer calls to voice mail in android?

Is there any way by which i can transfer calls to voice mail programmatically?? I am making an application 开发者_如何学Cfor android in which i will use this feature.


Detect using: CALL_STATE_RINGING or LISTEN_CALL_STATE

However, AFAIK, you cannot make API calls to the Telephony service which will allow forwarding to Voicemail.


You need to listen for incoming call. Disconnect the call. If voice mail facility is available on the device then it will ask user to leave voice mail.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜